mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/pcie: implement power controller functionality
It is needed by hot-unplug in order to get an indication from the OS when the device can be physically detached. Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
e4bcd27c86
commit
f23b6bdc3c
7 changed files with 62 additions and 2 deletions
|
@ -297,8 +297,16 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
|
|||
.driver = "ICH9-LPC",\
|
||||
.property = "memory-hotplug-support",\
|
||||
.value = "off",\
|
||||
},{\
|
||||
.driver = "xio3130-downstream",\
|
||||
.property = COMPAT_PROP_PCP,\
|
||||
.value = "off",\
|
||||
},{\
|
||||
.driver = "ioh3420",\
|
||||
.property = COMPAT_PROP_PCP,\
|
||||
.value = "off",\
|
||||
}
|
||||
|
||||
|
||||
#define PC_Q35_COMPAT_1_7 \
|
||||
PC_COMPAT_1_7, \
|
||||
PC_Q35_COMPAT_2_0, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue