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

Re: [Xen-devel] Xen 4.1.1 HVM guest cdrom trouble, lost interrupts, ata failed commands (frozen)



On Mon, 28 Nov 2011, Pasi Kärkkäinen wrote:
> On Mon, Nov 28, 2011 at 10:19:32AM +0000, Stefano Stabellini wrote:
> > On Sun, 27 Nov 2011, sandr8 wrote:
> > > Hi,
> > > 
> > >   I am seeing exactly the same behavior... did you manage to get around 
> > > this
> > > issue?
> > 
> > it is fixed in xen 4.1.2
> > 
> 
> Btw are there any known workarounds for <= 4.1.1 ?


you can apply the following change to the guest kernel:

diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c
index 8214724..6b57f90 100644
--- a/arch/x86/pci/xen.c
+++ b/arch/x86/pci/xen.c
@@ -308,8 +308,7 @@ int __init pci_xen_init(void)
 
 int __init pci_xen_hvm_init(void)
 {
-       if (!xen_feature(XENFEAT_hvm_pirqs))
-               return 0;
+       return 0;
 
 #ifdef CONFIG_ACPI
        /*


or you can apply the following change to xen:

diff -r e73ada19a69d xen/common/kernel.c
--- a/xen/common/kernel.c       Thu Nov 17 09:13:25 2011 +0000
+++ b/xen/common/kernel.c       Mon Nov 28 10:24:24 2011 +0000
@@ -294,8 +294,7 @@ DO(xen_version)(int cmd, XEN_GUEST_HANDL
                              (1U << XENFEAT_gnttab_map_avail_bits);
             else
                 fi.submap |= (1U << XENFEAT_hvm_safe_pvclock) |
-                             (1U << XENFEAT_hvm_callback_vector) |
-                             (1U << XENFEAT_hvm_pirqs);
+                             (1U << XENFEAT_hvm_callback_vector);
 #endif
             break;
         default:
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.