mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
xen: convert "-machine igd-passthru" to an accelerator property
The first machine property to fall is Xen's Intel integrated graphics passthrough. The "-machine igd-passthru" option does not set anymore a property on the machine object, but desugars to a GlobalProperty on accelerator objects. The setter is very simple, since the value ends up in a global variable, so this patch also provides an example before the more complicated cases that follow it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
fe17413247
commit
46472d8232
6 changed files with 28 additions and 34 deletions
|
@ -287,7 +287,6 @@ struct MachineState {
|
|||
bool mem_merge;
|
||||
bool usb;
|
||||
bool usb_disabled;
|
||||
bool igd_gfx_passthru;
|
||||
char *firmware;
|
||||
bool iommu;
|
||||
bool suppress_vmdesc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue