diff options
author | Paolo Bonzini | 2019-11-13 10:56:53 +0100 |
---|---|---|
committer | Paolo Bonzini | 2019-12-17 19:32:27 +0100 |
commit | 46472d82322d0af23c7074c1101a791b5a27ca46 (patch) | |
tree | abb8efdc8c80feeca312e22b7443f943ca1904b3 /include/hw | |
parent | tcg: add "-accel tcg,tb-size" and deprecate "-tb-size" (diff) | |
download | qemu-46472d82322d0af23c7074c1101a791b5a27ca46.tar.gz qemu-46472d82322d0af23c7074c1101a791b5a27ca46.tar.xz qemu-46472d82322d0af23c7074c1101a791b5a27ca46.zip |
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>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/boards.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index 96f2084c6e..5025c1af9e 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -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; |