Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix graphics output in HVM #73

Merged
merged 2 commits into from
Feb 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qemu/gui-agent
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,6 @@ Signed-off-by: Marek Marczykowski-Górecki <[email protected]>
hw/xen/xen_pt_msi.c | 89 ++++++++++++++++++++++++++-------------------
2 files changed, 61 insertions(+), 37 deletions(-)

diff --git a/hw/xen/xen_pt.h b/hw/xen/xen_pt.h
index b20744f7c7..813fc56927 100644
--- a/hw/xen/xen_pt.h
+++ b/hw/xen/xen_pt.h
@@ -29,6 +29,15 @@ void xen_pt_log(const PCIDevice *d, const char *f, ...) G_GNUC_PRINTF(2, 3);
# define XEN_PT_LOG_CONFIG(d, addr, val, len)
#endif

+/* addition to xen/interface/features.h until updated upstream */
+/*
+ * If set, Xen will passthrough all MSI-X vector ctrl writes to device model,
+ * not only those unmasking an entry. This allows device model to properly keep
+ * track of the MSI-X table without having to read it from the device behind
+ * Xen's backs. This information is relevant only for device models.
+ */
+#define XENFEAT_dm_msix_all_writes 18
+

/* Helper */
#define XEN_PFN(x) ((x) >> XC_PAGE_SHIFT)
diff --git a/hw/xen/xen_pt_msi.c b/hw/xen/xen_pt_msi.c
index 09cca4eecb..898db4a4d6 100644
--- a/hw/xen/xen_pt_msi.c
Expand Down