From: Ian Jackson Date: Fri, 29 May 2009 14:03:17 +0000 (+0100) Subject: Disable another remnant of PCI IO space multiplex, for stubdom X-Git-Tag: xen-4.0.0-rc1~74 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=72f4654095e0ac1539749b628e98f5e1569c9801;p=qemu-xen-4.0-testing.git Disable another remnant of PCI IO space multiplex, for stubdom Signed-off-by: Ian Jackson --- diff --git a/hw/pass-through.c b/hw/pass-through.c index 314213a5..0960360d 100644 --- a/hw/pass-through.c +++ b/hw/pass-through.c @@ -3864,11 +3864,13 @@ static int pt_cmd_reg_restore(struct pt_dev *ptdev, */ restorable_mask = reg->emu_mask & ~PCI_COMMAND_FAST_BACK; *value = PT_MERGE_VALUE(*value, dev_value, restorable_mask); +#ifndef CONFIG_STUBDOM if ( pt_is_iomul(ptdev) ) { *value &= ~PCI_COMMAND_IO; if (ioctl(ptdev->fd, PCI_IOMUL_DISABLE_IO)) PT_LOG("error: %s: %s\n", __func__, strerror(errno)); } +#endif if (!ptdev->machine_irq) *value |= PCI_COMMAND_DISABLE_INTx;