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

Re: [Xen-devel] Re: Possible regression in "passthough: add no_wb option for pci conf write"



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


 


Rackspace

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