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

[Xen-changelog] [qemu-xen-3.4-testing] When xen_platform_pci=0 also disable fixed Xen platform ioports



commit f9efbe4af919aa80fd9a9f7122105b2cf33cab9e
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Thu Feb 18 15:36:29 2010 +0000

    When xen_platform_pci=0 also disable fixed Xen platform ioports
    
    disable_pf should affect the platform's fixed ioport (used for device
    hot unplug etc.)
    
    Contributed-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
    Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
    (cherry picked from commit e5d14857cd67490bf956d97c8888c0be95ed3f78)
---
 hw/pc.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/hw/pc.c b/hw/pc.c
index 9a5637c..6c71ad8 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1048,9 +1048,10 @@ vga_bios_error:
 #endif /* !CONFIG_DM */
     if (pci_enabled) {
         disable_pf = xenstore_parse_disable_pf_config();
-        if (disable_pf != 1)
+        if (disable_pf != 1) {
             pci_xen_platform_init(pci_bus);
-        platform_fixed_ioport_init();
+            platform_fixed_ioport_init();
+        }
     }
 
     for(i = 0; i < MAX_SERIAL_PORTS; i++) {
--
generated by git-patchbot for /home/xen/git/qemu-xen-3.4-testing.git

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


 


Rackspace

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