]> xenbits.xensource.com Git - xenclient/ioemu.git/commitdiff
- Map the legacy monocrome VGA ioport (vista needs it).
authorJean Guyader <jean.guyader@eu.citrix.com>
Wed, 15 Oct 2008 17:01:52 +0000 (18:01 +0100)
committerJean Guyader <jean.guyader@eu.citrix.com>
Wed, 15 Oct 2008 17:01:52 +0000 (18:01 +0100)
hw/pass-through.c

index 9bb13fe25e65647c092cc3ebe9173867c4f00dd8..a3b8319d7fcd66bfac6b9f5a52e706d76b398746 100644 (file)
@@ -2995,6 +2995,8 @@ struct pt_dev * register_real_device(PCIBus *e_bus,
     {
         PT_LOG("add an intel graphic card\n");
 
+        rc = xc_domain_ioport_mapping(xc_handle, domid, 0x3B0, 0x3B0, 0xb,
+                                      DPCI_ADD_MAPPING);
         rc = xc_domain_ioport_mapping(xc_handle, domid, 0x3C0, 0x3C0, 32,
                                       DPCI_ADD_MAPPING);
         rc |= xc_domain_memory_mapping(xc_handle, domid, 0xa0, 0xa0, 32,
@@ -3072,6 +3074,8 @@ int unregister_real_device(int php_slot)
     {
         PT_LOG("remove an intel graphic card\n");
 
+        rc = xc_domain_ioport_mapping(xc_handle, domid, 0x3B0, 0x3B0, 0xb,
+                                      DPCI_REMOVE_MAPPING);
         rc = xc_domain_ioport_mapping(xc_handle, domid, 0x3C0, 0x3C0, 32,
                                        DPCI_REMOVE_MAPPING);
         rc |= xc_domain_memory_mapping(xc_handle, domid, 0xa0, 0xa0, 32,