Skip to content

Commit

Permalink
qemu-options: Limit the -xen options to x86 and arm
Browse files Browse the repository at this point in the history
The Xen hypervisor is only available on x86 and arm - thus let's
limit the related options to these targets.

Message-Id: <20220427133156.344418-1-thuth@redhat.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
  • Loading branch information
huth committed May 9, 2022
1 parent f07b3a8 commit eeb3647
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions qemu-options.hx
Expand Up @@ -4186,16 +4186,17 @@ SRST
ERST

DEF("xen-domid", HAS_ARG, QEMU_OPTION_xen_domid,
"-xen-domid id specify xen guest domain id\n", QEMU_ARCH_ALL)
"-xen-domid id specify xen guest domain id\n",
QEMU_ARCH_ARM | QEMU_ARCH_I386)
DEF("xen-attach", 0, QEMU_OPTION_xen_attach,
"-xen-attach attach to existing xen domain\n"
" libxl will use this when starting QEMU\n",
QEMU_ARCH_ALL)
QEMU_ARCH_ARM | QEMU_ARCH_I386)
DEF("xen-domid-restrict", 0, QEMU_OPTION_xen_domid_restrict,
"-xen-domid-restrict restrict set of available xen operations\n"
" to specified domain id. (Does not affect\n"
" xenpv machine type).\n",
QEMU_ARCH_ALL)
QEMU_ARCH_ARM | QEMU_ARCH_I386)
SRST
``-xen-domid id``
Specify xen guest domain id (XEN only).
Expand Down

0 comments on commit eeb3647

Please sign in to comment.