[PATCH 00/11] target/i386/sev: Housekeeping helping using SEV-disabled binaries

Philippe Mathieu-Daudé posted 11 patches 2 days, 17 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/next-importer-push tags/patchew/20210610064556.1421620-1-philmd@redhat.com
qapi/misc-target.json         |  75 +++++++++++-----------
include/monitor/hmp-target.h  |   1 +
include/monitor/hmp.h         |   1 -
target/i386/sev_i386.h        |   5 --
target/i386/cpu.c             |   1 +
target/i386/monitor.c         |  91 --------------------------
target/i386/sev-stub.c        |  49 +-------------
target/i386/sev-sysemu-stub.c |  69 ++++++++++++++++++++
target/i386/sev.c             | 117 +++++++++++++++++++++++++++++-----
MAINTAINERS                   |   7 ++
target/i386/meson.build       |   4 +-
11 files changed, 219 insertions(+), 201 deletions(-)
create mode 100644 target/i386/sev-sysemu-stub.c

[PATCH 00/11] target/i386/sev: Housekeeping helping using SEV-disabled binaries

Posted by Philippe Mathieu-Daudé 2 days, 17 hours ago
Hi,

I wasted some time trying to figure out how OVMF was supposed to
behave until realizing the binary I was using was built without SEV
support... Then wrote this series to help other developers to not
hit the same problem.
Some SEV patches I was following have been queued on Eduardo's
'x86-next' tree, so I used his tree as base, and included David and
Connor patches to reduce merge conflicts.

Based-on: https://gitlab.com/ehabkost/qemu/-/commits/x86-next/

Connor Kuehl (1):
  MAINTAINERS: Add Connor Kuehl as reviewer for AMD SEV

Dr. David Alan Gilbert (1):
  target/i386/sev: sev_get_attestation_report use g_autofree

Philippe Mathieu-Daudé (9):
  qapi/misc-target: Group SEV QAPI definitions
  target/i386/monitor: Return QMP error when SEV is disabled in build
  target/i386/cpu: Add missing 'qapi/error.h' header
  target/i386/sev_i386.h: Remove unused headers
  target/i386/sev: Remove sev_get_me_mask()
  target/i386/sev: Mark unreachable code with g_assert_not_reached()
  target/i386/sev: Restrict SEV to system emulation
  target/i386/monitor: Move SEV specific commands to sev.c
  monitor: Restrict 'info sev' to x86 targets

 qapi/misc-target.json         |  75 +++++++++++-----------
 include/monitor/hmp-target.h  |   1 +
 include/monitor/hmp.h         |   1 -
 target/i386/sev_i386.h        |   5 --
 target/i386/cpu.c             |   1 +
 target/i386/monitor.c         |  91 --------------------------
 target/i386/sev-stub.c        |  49 +-------------
 target/i386/sev-sysemu-stub.c |  69 ++++++++++++++++++++
 target/i386/sev.c             | 117 +++++++++++++++++++++++++++++-----
 MAINTAINERS                   |   7 ++
 target/i386/meson.build       |   4 +-
 11 files changed, 219 insertions(+), 201 deletions(-)
 create mode 100644 target/i386/sev-sysemu-stub.c

-- 
2.31.1