Hi all,
I create successfully a vm, then opening one terminal to run example
event-python.py from libvirt-0.7.4
source code package with qemu:///system parameter.in another opening
terminal,running basic domain
operation, such as undefine/define/start/destroy.but original terminal
display information
"libvir: QEMU error : remoteDomainProcessEvent: unmarshalling msg" .
test environment details is
as following:
[root@localhost events-python]# uname -a
Linux localhost.localdomain 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7
21:25:57 EST 2009 i686 i686 i386 GNU/Linux
[root@localhost events-python]# lsmod|grep kvm
kvm_intel 39856 0
kvm 140260 1 kvm_intel
[root@localhost events-python]# rpm -qa|grep virt
virt-v2v-0.2.0-1.fc12.noarch
virtuoso-opensource-conductor-5.0.12-1.fc12.noarch
libvirt-python-0.7.1-15.fc12.i686
virtuoso-opensource-apps-5.0.12-1.fc12.i686
virtuoso-opensource-doc-5.0.12-1.fc12.noarch
virtuoso-opensource-5.0.12-1.fc12.i686
virt-manager-0.8.0-7.fc12.noarch
virtuoso-opensource-utils-5.0.12-1.fc12.i686
virt-ctrl-1.0.1-4.fc12.i686
virt-top-1.0.4-1.fc12.1.i686
virt-viewer-0.2.0-1.fc12.i686
virtaal-0.4.1-1.fc12.noarch
libvirt-client-0.7.1-15.fc12.i686
python-virtinst-0.500.0-5.fc12.noarch
virt-mem-0.3.1-9.fc12.i686
libvirt-0.7.1-15.fc12.i686
1. open one terminal and run event-test.py
[root@localhost events-python]# python event-test.py qemu:///system
Using uri:qemu:///system
libvir: QEMU error : remoteDomainProcessEvent: unmarshalling msg
libvir: Remote error : unknown program (received 77696e78, expected
20008086)
libvir: Remote error : unknown program (received 77696e78, expected
20008086)
libvir: Remote error : unknown program (received 77696e78, expected
20008086)
2.open another termial and run basic domain operation
[root@localhost ajia]# virsh list --all
Id Name State
----------------------------------
- winxp shut off
[root@localhost ajia]# virsh undefine winxp
Domain winxp has been undefined
[root@localhost ajia]# virsh define winxp.xml
Domain winxp defined from winxp.xml
[root@localhost ajia]# virsh start winxp
Domain winxp started
[root@localhost ajia]# virsh destroy winxp
Domain winxp destroyed
I am puzzled to domain event handler,and I don't clear if is libvirt
version different problem or I miss some stuff.
I would be most grateful for any response .
Best Regards,
Alex Jia