On Tue, Mar 08, 2011 at 10:30:45AM +0800, Wen Congyang wrote: > Hi, all > > The qemu does not support monitor_command drive_add and drive_del in json mode. > These two commands are important because attaching/detaching commands need them. > > AFAIK, if we use libvirt provided by RHEL6(not upstream), we connect to qemu in > json mode. So, it is important to make qemu to support these monitor commands > in json mode. > > Markus Armbruster(armbru@xxxxxxxxxx) said these commands are designed badly, and > he has started to work on saner commands some time ago: > http://lists.nongnu.org/archive/html/qemu-devel/2011-02/msg02042.html > > He suggested us to use human monitor passthrough in the meantime. > Should we modify libvirt to use human monitor passthrough command to support > attaching/detaching device before the saner commands are ready? Now that we have got Jiri's patches to allow use of loadvm, savevm, delvm via human monitor passthrough, we can do the same with drive_add/drive_del very easily Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list