diff options
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -52,7 +52,7 @@ int qemu_shutdown_requested(void); int qemu_reset_requested(void); int qemu_powerdown_requested(void); #ifdef NEED_CPU_H -#if !defined(TARGET_SPARC) && !defined(TARGET_I386) +#if !defined(TARGET_SPARC) // Please implement a power failure function to signal the OS #define qemu_system_powerdown() do{}while(0) #else @@ -216,12 +216,14 @@ typedef int (dev_match_fn)(void *dev_private, void *arg); void destroy_nic(dev_match_fn *match_fn, void *arg); void destroy_bdrvs(dev_match_fn *match_fn, void *arg); +#ifndef CONFIG_ANDROID /* pci-hotplug */ void pci_device_hot_add(Monitor *mon, const char *pci_addr, const char *type, const char *opts); void drive_hot_add(Monitor *mon, const char *pci_addr, const char *opts); void pci_device_hot_remove(Monitor *mon, const char *pci_addr); void pci_device_hot_remove_success(int pcibus, int slot); +#endif /* serial ports */ |