Re: [virt-manager PATCH 1/2] Disable domain events with XEN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Daniel P. Berrange" <berrange@xxxxxxxxxx> writes:

> On Wed, Feb 25, 2015 at 04:34:19PM +0100, Giuseppe Scrivano wrote:
>> When XEN is used, disable domain events and use polling.
>> 
>> On RHEL-5.9 virDomainInfo() seems to not report correctly the domain
>> status when called immediately after the event is received.
>> 
>> Solves: https://bugzilla.redhat.com/show_bug.cgi?id=1177207
>
> I'm not convinced there's a bug in libvirt here.
>
> VIR_DOMAIN_NOSTATE has always been considered to be a synonym
> for VIR_DOMAIN_RUNNING - the Xen hypervisor often shows 'nostate'
> when guests are running. So isn't the bug simply to make virt-manager
> treat them as equivalent rather than disabling events like this.

thanks, in fact it doesn't seem to be the issue.  Only the debugging
message prints it as VIR_DOMAIN_NOSTATE, while the rest of the code
considers it as VIR_DOMAIN_RUNNING.  Something else is going on, as
calling virDomainInfo twice, "fix" the problem, and that is why
re-enabling polling fix the issue.  I will look more into it.

Regards,
Giuseppe

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux