* [Qemu-devel] Building QMP in qemu-nbd
@ 2014-03-13 14:40 Benoît Canet
2014-03-13 14:56 ` Eric Blake
2014-03-13 15:21 ` Paolo Bonzini
0 siblings, 2 replies; 3+ messages in thread
From: Benoît Canet @ 2014-03-13 14:40 UTC (permalink / raw)
To: qemu-devel
Hi,
I want to make qemu-nbd QMP aware so the cloud stack my customer work on could
start lxc containers with qcow2 KVM images and still benefit from the quorum
and snapshot goodness.
Stefan mentioned the nice idea of splitting qapi-schema.json in small files
in a subdirectory so qemu-nbd could use only the block related commands.
Eric: What do you think of this idea ?
Do you have variants of this idea ?
Best regards
Benoît
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Building QMP in qemu-nbd
2014-03-13 14:40 [Qemu-devel] Building QMP in qemu-nbd Benoît Canet
@ 2014-03-13 14:56 ` Eric Blake
2014-03-13 15:21 ` Paolo Bonzini
1 sibling, 0 replies; 3+ messages in thread
From: Eric Blake @ 2014-03-13 14:56 UTC (permalink / raw)
To: Benoît Canet, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 833 bytes --]
On 03/13/2014 08:40 AM, Benoît Canet wrote:
>
> Hi,
>
> I want to make qemu-nbd QMP aware so the cloud stack my customer work on could
> start lxc containers with qcow2 KVM images and still benefit from the quorum
> and snapshot goodness.
>
> Stefan mentioned the nice idea of splitting qapi-schema.json in small files
> in a subdirectory so qemu-nbd could use only the block related commands.
>
> Eric: What do you think of this idea ?
See Lluís' work on creating an include directive (although it needs a
respin to use a json5 syntax):
https://lists.gnu.org/archive/html/qemu-devel/2014-03/msg00017.html
So I'm definitely in favor of splitting the schema file into smaller
per-topic sections.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Building QMP in qemu-nbd
2014-03-13 14:40 [Qemu-devel] Building QMP in qemu-nbd Benoît Canet
2014-03-13 14:56 ` Eric Blake
@ 2014-03-13 15:21 ` Paolo Bonzini
1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2014-03-13 15:21 UTC (permalink / raw)
To: Benoît Canet, qemu-devel
Il 13/03/2014 15:40, Benoît Canet ha scritto:
> Hi,
>
> I want to make qemu-nbd QMP aware so the cloud stack my customer work on could
> start lxc containers with qcow2 KVM images and still benefit from the quorum
> and snapshot goodness.
Yes, blockdev can help for this. In the meanwhile, could you start a
dummy guest ("-M none -m 1 -machine accel=qtest -display none
-nodefaults" consumes ~16M here) and use the embedded NBD server?
> Stefan mentioned the nice idea of splitting qapi-schema.json in small files
> in a subdirectory so qemu-nbd could use only the block related commands.
>
> Eric: What do you think of this idea ?
> Do you have variants of this idea ?
Weren't there patches to add "include" directives to qapi-schema.json?
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-03-13 15:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-13 14:40 [Qemu-devel] Building QMP in qemu-nbd Benoît Canet
2014-03-13 14:56 ` Eric Blake
2014-03-13 15:21 ` Paolo Bonzini
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).