qemu/hw/xen
Ruili Ji fb36fb9344 hw/xen: set pci Atomic Ops requests for passthrough device
Make guest os access pci device control 2 reg for passthrough device
as struct XenPTRegInfo described in the file hw/xen/xen_pt.h.
/* reg read only field mask (ON:RO/ROS, OFF:other) */
uint32_t ro_mask;
/* reg emulate field mask (ON:emu, OFF:passthrough) */
uint32_t emu_mask;

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1196
Signed-off-by: Aaron Liu <Aaron.Liu@amd.com>
Signed-off-by: Ruili Ji <ruili.ji@amd.com>
Message-ID: <BL1PR12MB599341DC55BA53FE588DE14E9B7E9@BL1PR12MB5993.namprd12.prod.outlook.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
2022-09-27 14:23:23 +01:00
..
meson.build
trace-events
trace.h
xen-backend.c
xen-bus-helper.c
xen-bus.c
xen-host-pci-device.c
xen-host-pci-device.h
xen-legacy-backend.c
xen_devconfig.c
xen_pt.c
xen_pt.h
xen_pt_config_init.c
xen_pt_graphics.c
xen_pt_load_rom.c
xen_pt_msi.c
xen_pt_stub.c
xen_pvdev.c