* [Qemu-devel] controlling qemu
@ 2013-12-09 16:59 lukass.vacek
2013-12-13 9:06 ` Stefan Hajnoczi
0 siblings, 1 reply; 2+ messages in thread
From: lukass.vacek @ 2013-12-09 16:59 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 198 bytes --]
Hello,
I want to implement library in c++, that will start and control QEMU. But I
dont know how to handle qemu and how to send signals to QEMU. Could you give
me at least some hint how to do that?
[-- Attachment #2: Type: text/html, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] controlling qemu
2013-12-09 16:59 [Qemu-devel] controlling qemu lukass.vacek
@ 2013-12-13 9:06 ` Stefan Hajnoczi
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2013-12-13 9:06 UTC (permalink / raw)
To: lukass.vacek; +Cc: qemu-devel
On Mon, Dec 09, 2013 at 05:59:32PM +0100, lukass.vacek@seznam.cz wrote:
> I want to implement library in c++, that will start and control QEMU. But I
> dont know how to handle qemu and how to send signals to QEMU. Could you give
> me at least some hint how to do that?
Most management stacks and cloud frameworks seem to be using libvirt
nowadays. And that's a good thing because a lot of work goes into
libvirt to use the latest and greatest QEMU options, set up networking
and firewalls, PCI passthrough, device hotplug, etc.
So start by looking at http://libvirt.org/ to see if it meets your
needs.
If you really want to write your own library, learn the QEMU
command-line and QMP monitor. See docs/qmp/qmp-spec.txt and
scripts/qmp/qmp-shell for QMP examples.
Also consider that writing your own library means you'll have to study
the man pages and QEMU source code. Here is a very quick overview of
QEMU to get you started:
http://vmsplice.net/~stefan/qemu-code-overview.pdf
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-13 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-09 16:59 [Qemu-devel] controlling qemu lukass.vacek
2013-12-13 9:06 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).