Red Hat Bugzilla – Bug 518100
Xen driver does not update domain ID after starting a persistent domain
Last modified: 2009-09-15 06:40:10 EDT
Description of problem:
The libvirt-tck fails on test domain/060, due to domain ID not being updated
# Defining an inactive domain config
ok 1 - defined persistent domain config
# Undefining inactive domain config
# Checking that persistent domain has gone away
ok 2 - NO_DOMAIN error raised from missing domain
# Defining inactive domain config again
ok 3 - defined persistent domain config
# Starting inactive domain config
not ok 4 - running domain has an ID > 0
# Failed test 'running domain has an ID > 0'
# at /usr/share/libvirt-tck/tests/domain/060-persistent-lifecycle.t line 63.
# Trying another domain lookup by name
ok 5 - the running domain object
ok 6 - running domain has an ID > 0
# Destroying the running domain
# Checking there is still an inactive domain config
ok 7 - the inactive domain object
ok 8 - inactive domain has an ID == -1
# Undefining the inactive domain config
ok 9 - NO_DOMAIN error raised from missing domain
# Looks like you failed 1 test of 9.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/9 subtests
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. # libvirt-tck -t /usr/share/libvirt-tck/tests/domain/060-persistent-lifecycle.t -v
think it makes sense to track this one upstream since F12 doesn't have dom0 support?
Actually my goal is that libvirt in F12 be sufficiently functional for someone to drop in the community provided Dom0 kernels and still work. So I do want to track this for F12.
Fix upstream and now in rawhide