[libvirt] [PATCH v4 0/8]: Add arbitrary qemu command-line and monitor commands

Daniel P. Berrange berrange at redhat.com
Tue Jul 20 10:58:40 UTC 2010

On Wed, Jul 07, 2010 at 05:33:25PM -0400, Chris Lalancette wrote:
> As we discussed previously, here is the patch series to add the ability
> to specify arbitrary qemu command-line parameters and environment variables,
> and also give arbitrary monitor commands to a guest.  Because these
> extra arguments have a good shot at confusing libvirt, the use of them
> is not supported, but left available for advanced users and developers.
> They are also in a separate library and have a separate on-the-wire
> protocol.
> There is one bug left that I have not yet been able to fix.  Because of the
> complicated way that virsh parses command-line arguments, it is not possible
> to pass through spaces and quotes when using the qemu-monitor-command.
> Unfortunately, the qemu monitor commands (and in particular when using QMP)
> depend heavily on quoting and spacing, so using virsh to send through
> command-lines is difficult.  I'll have to think about how to better resolve
> this issue, but it should not hold up the rest of the series.

Aside from the bug about the libvirt_public.sym file I think this series
is ok to commit. Given that we don't have a solution for this virsh
quoting problem though, we should leave out the virsh patch. We don't
want to lock ourselves into current syntax of 'qemu-monitor-command'
in case the solution to quoting problem requires changes. 

|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the libvir-list mailing list