On Wed, Dec 02, 2009 at 04:16:33PM +0800, ajia wrote:
Dear Daniel,
Recently, I am writing test plan about libvirt asynchronous event
mechanism,
refering to the following bugs from the bugzilla:
spice/vnc:
https://bugzilla.redhat.com/show_bug.cgi?id=515268
disk error:
https://bugzilla.redhat.com/show_bug.cgi?id=515270
I know libvirt can communicate with qemu monitor by QMP at present, can
I use libvirt API to test it now?libvirt-0.7.4-1is ok?
In addition,In qemu monitor with rhel6(2.6.31-31.el6.x86_64),"notify"
command
is nonexistent (Fedora12 is existent),if current qemu can't support
event notification
mechanism in rhel6,from libvirt point of view,I don't clear libvirt how
to get asyns
event notification?so I don't know how to test it.and I see qemu monitor
protocol being patched,I am not sure current QMP status. I would be most
grateful for any response . thank you very much.
The QMP work is not yet finished. We only have basic support for the
protocol in QEMU right now. The next bit of work will be to add event
notifications fotr the disk error events, and spice/vnc client
connections. I don't know when that stuff will be ready though.
Testing is going to be quite alot of work - there's no way to test
this using virsh/virt-manger/etc. If you want to test this you will
need to write some code that uses the libvirt API directly to register
for events
Regards,
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://ovirt.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|