On Thu, Aug 07, 2025 at 04:39:34PM +0200, Magnus Kulke wrote: > Create the MSHV virtual machine by opening a partition and issuing > the necessary ioctl to initialize it. This sets up the basic VM > structure and initial configuration used by MSHV to manage guest state. > > Signed-off-by: Magnus Kulke <magnusku...@linux.microsoft.com> > --- > accel/mshv/irq.c | 397 +++++++++++++++++++++++++++++++++++ > accel/mshv/mem.c | 129 +++++++++++- > accel/mshv/meson.build | 1 + > accel/mshv/mshv-all.c | 325 ++++++++++++++++++++++++++++ > accel/mshv/trace-events | 23 ++ > accel/mshv/trace.h | 14 ++ > hw/intc/apic.c | 8 + > include/system/mshv.h | 38 +++- > meson.build | 1 + > target/i386/mshv/meson.build | 1 + > target/i386/mshv/mshv-cpu.c | 71 +++++++ > 11 files changed, 1001 insertions(+), 7 deletions(-) > create mode 100644 accel/mshv/irq.c > create mode 100644 accel/mshv/trace-events > create mode 100644 accel/mshv/trace.h > create mode 100644 target/i386/mshv/mshv-cpu.c > > diff --git a/accel/mshv/irq.c b/accel/mshv/irq.c
> diff --git a/accel/mshv/trace-events b/accel/mshv/trace-events > new file mode 100644 > index 0000000000..5ea5e74722 > --- /dev/null > +++ b/accel/mshv/trace-events > @@ -0,0 +1,23 @@ > +# See docs/devel/tracing.rst for syntax documentation. This will need the SPDX-License-Identifier tag too these days. > diff --git a/accel/mshv/trace.h b/accel/mshv/trace.h > new file mode 100644 > index 0000000000..0dca48f917 > --- /dev/null > +++ b/accel/mshv/trace.h > @@ -0,0 +1,14 @@ > +/* > + * QEMU MSHV support > + * > + * Copyright Microsoft, Corp. 2025 > + * > + * Authors: > + * Ziqiao Zhou <ziqiaoz...@microsoft.com> > + * Magnus Kulke <magnusku...@microsoft.com> > + * > + * SPDX-License-Identifier: GPL-2.0-or-later > + * > + */ > + > +#include "trace/trace-accel_mshv.h" With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|