|
From: | Laszlo Ersek |
Subject: | Re: [Qemu-devel] [PATCH v2 2/7] acpi: add vmcoreinfo device |
Date: | Thu, 6 Jul 2017 18:08:26 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 07/06/17 12:16, Marc-André Lureau wrote: > The VM coreinfo (vmcoreinfo) device is an emulated device which > exposes a 4k memory range to the guest to store various informations > useful to debug the guest OS. (it is greatly inspired by the VMGENID > device implementation) > > This is an early-boot alternative to the qemu-ga VMDUMP_INFO event > proposed in "[PATCH 00/21] WIP: dump: add kaslr support". > > A proof-of-concept kernel module: > https://github.com/elmarco/vmgenid-test/blob/master/qemuvmci-test.c > > Signed-off-by: Marc-André Lureau <address@hidden> > --- > include/hw/acpi/aml-build.h | 1 + > include/hw/acpi/vmcoreinfo.h | 36 +++++++ > hw/acpi/aml-build.c | 2 + > hw/acpi/vmcoreinfo.c | 208 > +++++++++++++++++++++++++++++++++++++ > hw/i386/acpi-build.c | 14 +++ > default-configs/arm-softmmu.mak | 1 + > default-configs/i386-softmmu.mak | 1 + > default-configs/x86_64-softmmu.mak | 1 + > docs/specs/vmcoreinfo.txt | 138 ++++++++++++++++++++++++ > hw/acpi/Makefile.objs | 1 + > 10 files changed, 403 insertions(+) > create mode 100644 include/hw/acpi/vmcoreinfo.h > create mode 100644 hw/acpi/vmcoreinfo.c > create mode 100644 docs/specs/vmcoreinfo.txt Reviewed-by: Laszlo Ersek <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |