WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: Possible regression in "passthough: add no_wb option

On Mon, 2009-12-07 at 13:46 +0800, Simon Horman wrote:
> > So you are obseversing that ioemu window
> > disappear at boot time?
> 
> I'm not sure what you mean by "ioemu window".
> 
Never mind, I meant vnc or sdl console of ioemu.

Can you try if the following patch fixes the problem?

---
diff --git a/hw/pass-through.c b/hw/pass-through.c
index b125d72..f28f6c7 100644
--- a/hw/pass-through.c
+++ b/hw/pass-through.c
@@ -1556,7 +1556,7 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t 
address, uint32_t val,
     val >>= ((address & 3) << 3);
 
 out:
-    if (!reg->no_wb) {
+    if (!(reg && reg->no_wb)) {  /* unknown regs are passed through */
         ret = pci_write_block(pci_dev, address, (uint8_t *)&val, len);
 
         if (!ret)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel