qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] qemu-options: Limit the -xen options to x86 and arm
@ 2022-04-27 13:31 Thomas Huth
  2022-04-27 13:41 ` Anthony PERARD via
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2022-04-27 13:31 UTC (permalink / raw)
  To: qemu-devel, Stefano Stabellini, Anthony Perard, Paul Durrant
  Cc: qemu-trivial, Paolo Bonzini, xen-devel

The Xen hypervisor is only available on x86 and arm - thus let's
limit the related options to these targets.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 qemu-options.hx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/qemu-options.hx b/qemu-options.hx
index 1764eebfaf..cc3a39d21a 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -4184,16 +4184,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).
-- 
2.27.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] qemu-options: Limit the -xen options to x86 and arm
  2022-04-27 13:31 [PATCH] qemu-options: Limit the -xen options to x86 and arm Thomas Huth
@ 2022-04-27 13:41 ` Anthony PERARD via
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony PERARD via @ 2022-04-27 13:41 UTC (permalink / raw)
  To: Thomas Huth
  Cc: qemu-devel, Stefano Stabellini, Paul Durrant, Paolo Bonzini,
	qemu-trivial, xen-devel

On Wed, Apr 27, 2022 at 03:31:56PM +0200, Thomas Huth wrote:
> The Xen hypervisor is only available on x86 and arm - thus let's
> limit the related options to these targets.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>

Acked-by: Anthony PERARD <anthony.perard@citrix.com>

Thanks,

-- 
Anthony PERARD


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-27 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-27 13:31 [PATCH] qemu-options: Limit the -xen options to x86 and arm Thomas Huth
2022-04-27 13:41 ` Anthony PERARD via

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).