qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-8.0 0/5] Xen emulation build/Coverity fixes
@ 2023-04-12 18:50 David Woodhouse
  2023-04-12 18:50 ` [PATCH 1/5] hw/xen: Simplify emulated Xen platform init David Woodhouse
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: David Woodhouse @ 2023-04-12 18:50 UTC (permalink / raw)
  To: qemu-devel
  Cc: no Stabellini, Anthony Perard, Paul Durrant,
	Marc-André Lureau, Paolo Bonzini, Richard Henderson,
	Eduardo Habkost, Michael S. Tsirkin, Marcel Apfelbaum,
	Daniel P. Berrangé, Thomas Huth, Philippe Mathieu-Daudé,
	xen-devel

Some Coverity fixes and minor cleanups. And most notably, dropping
support for Xen libraries older than 4.7.1.

I believe there are two issues that remain to be fixed. The x32 build
fails, and I've seen patches which attempt to detect x32 and disable
the Xen emulation. Along with assertions that we just shouldn't care.
I don't have a strong opinion either way but it seems to be in hand.

The other is the question of what Xen *actually* does if you try to
unmap an IRQ_MSI_EMU PIRQ. I don't think Linux guests try that, and
I'm fairly sure Windows doesn't even use MSI→PIRQ mappings in the
first place, and I doubt any other guests care either. I'd like to
establish the 'correct' behaviour and implement it, ideally before
the 8.0 release, but it's going to take me a few days more.

David Woodhouse (5):
      hw/xen: Simplify emulated Xen platform init
      hw/xen: Fix memory leak in libxenstore_open() for Xen
      xen: Drop support for Xen versions below 4.7.1
      hw/xen: Fix double-free in xen_console store_con_info()
      hw/xen: Fix broken check for invalid state in xs_be_open()

 hw/char/xen_console.c       |  13 ++----
 hw/i386/kvm/xen_evtchn.c    |  40 ++++++++---------
 hw/i386/kvm/xen_evtchn.h    |   3 +-
 hw/i386/kvm/xen_xenstore.c  |   2 +-
 hw/i386/pc.c                |  13 ++----
 hw/xen/xen-operations.c     |  59 +-----------------------
 include/hw/xen/xen_native.h | 107 +-------------------------------------------
 meson.build                 |   5 +--
 scripts/xen-detect.c        |  60 -------------------------
 9 files changed, 33 insertions(+), 269 deletions(-)





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

end of thread, other threads:[~2023-04-17 12:35 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-12 18:50 [PATCH for-8.0 0/5] Xen emulation build/Coverity fixes David Woodhouse
2023-04-12 18:50 ` [PATCH 1/5] hw/xen: Simplify emulated Xen platform init David Woodhouse
2023-04-12 18:50 ` [PATCH 2/5] hw/xen: Fix memory leak in libxenstore_open() for Xen David Woodhouse
2023-04-17 12:28   ` Paul Durrant
2023-04-12 18:51 ` [PATCH 3/5] xen: Drop support for Xen versions below 4.7.1 David Woodhouse
2023-04-17 12:30   ` Paul Durrant
2023-04-12 18:51 ` [PATCH 4/5] hw/xen: Fix double-free in xen_console store_con_info() David Woodhouse
2023-04-12 18:59   ` Peter Maydell
2023-04-17 12:33   ` Paul Durrant
2023-04-12 18:51 ` [PATCH 5/5] hw/xen: Fix broken check for invalid state in xs_be_open() David Woodhouse
2023-04-12 18:57   ` Peter Maydell
2023-04-17 12:34   ` Paul Durrant
2023-04-12 18:55 ` [PATCH for-8.0 0/5] Xen emulation build/Coverity fixes Peter Maydell
2023-04-12 19:01   ` David Woodhouse
2023-04-12 19:08     ` David Woodhouse
2023-04-13  9:10     ` Peter Maydell
2023-04-12 20:09 ` Stefano Stabellini

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).