-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into sta…
…ging pc,pci,virtio: fixes, cleanups Fixes, cleanups all over the place. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> # gpg: Signature made Sat 04 Sep 2021 22:34:10 BST # gpg: using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469 # gpg: issuer "mst@redhat.com" # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>" [full] # gpg: aka "Michael S. Tsirkin <mst@redhat.com>" [full] # Primary key fingerprint: 0270 606B 6F3C DF3D 0B17 0970 C350 3912 AFBE 8E67 # Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA 8A0D 281F 0DB8 D28D 5469 * remotes/mst/tags/for_upstream: (35 commits) vhost-vdpa: remove the unncessary queue_index assignment vhost-vdpa: fix the wrong assertion in vhost_vdpa_init() vhost-vdpa: tweak the error label in vhost_vdpa_add() vhost-vdpa: fix leaking of vhost_net in vhost_vdpa_add() vhost-vdpa: don't cleanup twice in vhost_vdpa_add() vhost-vdpa: remove the unnecessary check in vhost_vdpa_add() vhost_net: do not assume nvqs is always 2 vhost: use unsigned int for nvqs vhost_net: remove the meaningless assignment in vhost_net_start_one() vhost-vdpa: correctly return err in vhost_vdpa_set_backend_cap() vhost-vdpa: remove unused variable "acked_features" tests/vhost-user-bridge.c: Fix typo in help message tests/vhost-user-bridge.c: Sanity check socket path length hw/virtio: Add flatview update in vhost_user_cleanup() hw/virtio: Remove NULL check in virtio_free_region_cache() hw/virtio: Document virtio_queue_packed_empty_rcu is called within RCU MAINTAINERS: Added myself as a reviewer for acpi/smbios subsystem hw/acpi: use existing references to pci device struct within functions hw/pci: remove all references to find_i440fx function hw/i386/acpi-build: Get NUMA information from struct NumaState ... Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
- Loading branch information
Showing
40 changed files
with
440 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#include "qemu/osdep.h" | ||
#include "hw/acpi/cpu_hotplug.h" | ||
#include "migration/vmstate.h" | ||
|
||
|
||
/* Following stubs are all related to ACPI cpu hotplug */ | ||
const VMStateDescription vmstate_cpu_hotplug; | ||
|
||
void acpi_switch_to_modern_cphp(AcpiCpuHotplug *gpe_cpu, | ||
CPUHotplugState *cpuhp_state, | ||
uint16_t io_port) | ||
{ | ||
return; | ||
} | ||
|
||
void legacy_acpi_cpu_hotplug_init(MemoryRegion *parent, Object *owner, | ||
AcpiCpuHotplug *gpe_cpu, uint16_t base) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_cpu_ospm_status(CPUHotplugState *cpu_st, ACPIOSTInfoList ***list) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_cpu_plug_cb(HotplugHandler *hotplug_dev, | ||
CPUHotplugState *cpu_st, DeviceState *dev, Error **errp) | ||
{ | ||
return; | ||
} | ||
|
||
void legacy_acpi_cpu_plug_cb(HotplugHandler *hotplug_dev, | ||
AcpiCpuHotplug *g, DeviceState *dev, Error **errp) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_cpu_unplug_cb(CPUHotplugState *cpu_st, | ||
DeviceState *dev, Error **errp) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_cpu_unplug_request_cb(HotplugHandler *hotplug_dev, | ||
CPUHotplugState *cpu_st, | ||
DeviceState *dev, Error **errp) | ||
{ | ||
return; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#include "qemu/osdep.h" | ||
#include "hw/acpi/memory_hotplug.h" | ||
#include "migration/vmstate.h" | ||
|
||
const VMStateDescription vmstate_memory_hotplug; | ||
|
||
void acpi_memory_hotplug_init(MemoryRegion *as, Object *owner, | ||
MemHotplugState *state, hwaddr io_base) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_memory_ospm_status(MemHotplugState *mem_st, ACPIOSTInfoList ***list) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_memory_plug_cb(HotplugHandler *hotplug_dev, MemHotplugState *mem_st, | ||
DeviceState *dev, Error **errp) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_memory_unplug_cb(MemHotplugState *mem_st, | ||
DeviceState *dev, Error **errp) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_memory_unplug_request_cb(HotplugHandler *hotplug_dev, | ||
MemHotplugState *mem_st, | ||
DeviceState *dev, Error **errp) | ||
{ | ||
return; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#include "qemu/osdep.h" | ||
#include "hw/mem/nvdimm.h" | ||
#include "hw/hotplug.h" | ||
|
||
void nvdimm_acpi_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev) | ||
{ | ||
return; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#include "qemu/osdep.h" | ||
#include "hw/acpi/pcihp.h" | ||
#include "migration/vmstate.h" | ||
|
||
const VMStateDescription vmstate_acpi_pcihp_pci_status; | ||
|
||
void acpi_pcihp_init(Object *owner, AcpiPciHpState *s, PCIBus *root_bus, | ||
MemoryRegion *address_space_io, bool bridges_enabled, | ||
uint16_t io_base) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, | ||
DeviceState *dev, Error **errp) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev, | ||
DeviceState *dev, Error **errp) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_pcihp_device_unplug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, | ||
DeviceState *dev, Error **errp) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_pcihp_device_unplug_request_cb(HotplugHandler *hotplug_dev, | ||
AcpiPciHpState *s, DeviceState *dev, | ||
Error **errp) | ||
{ | ||
return; | ||
} | ||
|
||
void acpi_pcihp_reset(AcpiPciHpState *s, bool acpihp_root_off) | ||
{ | ||
return; | ||
} | ||
|
||
bool vmstate_acpi_pcihp_use_acpi_index(void *opaque, int version_id) | ||
{ | ||
return false; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.