All of lore.kernel.org
 help / color / mirror / Atom feed
* CONFIG_XEN_VIRTIO{_FORCE_GRANT} interferes with nested virt
@ 2022-10-05 12:41 Marek Marczykowski-Górecki
  2022-10-05 12:57 ` Juergen Gross
  0 siblings, 1 reply; 10+ messages in thread
From: Marek Marczykowski-Górecki @ 2022-10-05 12:41 UTC (permalink / raw)
  To: xen-devel; +Cc: Jürgen Groß

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

Hi,

When booting Xen with Linux dom0 nested under KVM,
CONFIG_XEN_VIRTIO_FORCE_GRANT=y makes it unable to use virtio devices
provided by L0 hypervisor (KVM with qemu). With PV dom0, grants are
required for virtio even if just CONFIG_XEN_VIRTIO is enabled.

This is probably uncommon corner case, but one that has bitten me in my
CI setup... I think Xen should set smarter
virtio_require_restricted_mem_acc(), that enforces it only for devices
really provided by another Xen VM (not by the "outer host"), but I'm not
sure how that could be done. Any ideas? 

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2022-10-06  6:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-05 12:41 CONFIG_XEN_VIRTIO{_FORCE_GRANT} interferes with nested virt Marek Marczykowski-Górecki
2022-10-05 12:57 ` Juergen Gross
2022-10-05 13:25   ` Marek Marczykowski-Górecki
2022-10-05 13:34     ` Juergen Gross
2022-10-05 13:51       ` Marek Marczykowski-Górecki
2022-10-05 15:04         ` Juergen Gross
2022-10-05 15:35           ` Marek Marczykowski-Górecki
2022-10-05 15:45             ` Juergen Gross
2022-10-05 16:48               ` Marek Marczykowski-Górecki
2022-10-06  6:37                 ` Juergen Gross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.