From 72f4654095e0ac1539749b628e98f5e1569c9801 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 29 May 2009 15:03:17 +0100 Subject: [PATCH] Disable another remnant of PCI IO space multiplex, for stubdom Signed-off-by: Ian Jackson --- hw/pass-through.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5