All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] AMD SEV: Cleanup state handling
@ 2020-06-04  6:42 David Gibson
  2020-06-04  6:42 ` [PATCH 1/9] target/i386: sev: Remove unused QSevGuestInfoClass David Gibson
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: David Gibson @ 2020-06-04  6:42 UTC (permalink / raw)
  To: rth, pbonzini, ekabkost, qemu-devel
  Cc: philmd, David Gibson, brijesh.singh, dgilbert, Eduardo Habkost

This series has an assortment of cleanups to the AMD SEV memory
encryption code.  Amongst other things it:
  * Removes the confusion between struct SEVState and enum SevState
  * Reduces use of global variables
  * Unifies some ad-hoc structures with an existing QOM object

I made these changes along the way to building a framework for common
handling of mechanisms for protecting guests from compromised hosts
(such as AMD SEV, IBM's PEF and others).  However, I think the changes
make sense on their own, so I'm sending them for inclusion now, while
finishing the polish on the rest of those patches.

Please apply.

David Gibson (9):
  target/i386: sev: Remove unused QSevGuestInfoClass
  target/i386: sev: Move local structure definitions into .c file
  target/i386: sev: Rename QSevGuestInfo
  target/i386: sev: Embed SEVState in SevGuestState
  target/i386: sev: Partial cleanup to sev_state global
  target/i386: sev: Remove redundant cbitpos and reduced_phys_bits
    fields
  target/i386: sev: Remove redundant policy field
  target/i386: sev: Remove redundant handle field
  target/i386: sev: Unify SEVState and SevGuestState

 target/i386/sev.c      | 257 +++++++++++++++++++++++------------------
 target/i386/sev_i386.h |  49 --------
 2 files changed, 143 insertions(+), 163 deletions(-)

-- 
2.26.2



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

end of thread, other threads:[~2020-06-10  6:25 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-04  6:42 [PATCH 0/9] AMD SEV: Cleanup state handling David Gibson
2020-06-04  6:42 ` [PATCH 1/9] target/i386: sev: Remove unused QSevGuestInfoClass David Gibson
2020-06-04  6:42 ` [PATCH 2/9] target/i386: sev: Move local structure definitions into .c file David Gibson
2020-06-04  6:42 ` [PATCH 3/9] target/i386: sev: Rename QSevGuestInfo David Gibson
2020-06-04  6:42 ` [PATCH 4/9] target/i386: sev: Embed SEVState in SevGuestState David Gibson
2020-06-04  6:42 ` [PATCH 5/9] target/i386: sev: Partial cleanup to sev_state global David Gibson
2020-06-04  6:52   ` Philippe Mathieu-Daudé
2020-06-04  6:42 ` [PATCH 6/9] target/i386: sev: Remove redundant cbitpos and reduced_phys_bits fields David Gibson
2020-06-04  6:42 ` [PATCH 7/9] target/i386: sev: Remove redundant policy field David Gibson
2020-06-04  6:42 ` [PATCH 8/9] target/i386: sev: Remove redundant handle field David Gibson
2020-06-04  6:42 ` [PATCH 9/9] target/i386: sev: Unify SEVState and SevGuestState David Gibson
2020-06-04 18:37 ` [PATCH 0/9] AMD SEV: Cleanup state handling Paolo Bonzini
2020-06-10  5:04   ` David Gibson
2020-06-10  6:23     ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.