Re: [RFC v2 04/18] target/i386: sev: Embed SEVState in SevGuestState

2020-06-03 Thread David Gibson
On Fri, May 29, 2020 at 11:09:41AM +0200, Philippe Mathieu-Daudé wrote: > On 5/21/20 5:42 AM, David Gibson wrote: > > Currently SevGuestState contains only configuration information. For > > runtime state another non-QOM struct SEVState is allocated separately. > > > > Simplify things by instead

Re: [RFC v2 04/18] target/i386: sev: Embed SEVState in SevGuestState

2020-06-01 Thread Richard Henderson
On 5/20/20 8:42 PM, David Gibson wrote: > Currently SevGuestState contains only configuration information. For > runtime state another non-QOM struct SEVState is allocated separately. > > Simplify things by instead embedding the SEVState structure in > SevGuestState. > > Signed-off-by: David Gib

Re: [RFC v2 04/18] target/i386: sev: Embed SEVState in SevGuestState

2020-05-29 Thread Philippe Mathieu-Daudé
On 5/21/20 5:42 AM, David Gibson wrote: > Currently SevGuestState contains only configuration information. For > runtime state another non-QOM struct SEVState is allocated separately. > > Simplify things by instead embedding the SEVState structure in > SevGuestState. > > Signed-off-by: David Gib

[RFC v2 04/18] target/i386: sev: Embed SEVState in SevGuestState

2020-05-20 Thread David Gibson
Currently SevGuestState contains only configuration information. For runtime state another non-QOM struct SEVState is allocated separately. Simplify things by instead embedding the SEVState structure in SevGuestState. Signed-off-by: David Gibson --- target/i386/sev.c | 54 +