]> git.proxmox.com Git - mirror_qemu.git/commit
xen: convert "-machine igd-passthru" to an accelerator property
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Nov 2019 09:56:53 +0000 (10:56 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Dec 2019 18:32:27 +0000 (19:32 +0100)
commit46472d82322d0af23c7074c1101a791b5a27ca46
treeabb8efdc8c80feeca312e22b7443f943ca1904b3
parentfe174132478b4e7b0086f2305a511fd94c9aca8b
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>
hw/core/machine.c
hw/xen/xen-common.c
hw/xen/xen_pt.c
include/hw/boards.h
qemu-options.hx
vl.c