Re: [RFC PATCH 2/2] hw/i386/sgx: Attach SGX-EPC to its memory backend

2022-01-31 Thread Philippe Mathieu-Daudé via
On 23/1/22 13:52, Yang Zhong wrote: On Mon, Jan 17, 2022 at 12:48:10PM +0100, Paolo Bonzini wrote: On 1/17/22 00:53, Philippe Mathieu-Daudé via wrote: We have one SGX-EPC address/size/node per memory backend, make it child of the backend in the QOM composition tree. Cc: Yang Zhong Signed-off-

Re: [RFC PATCH 2/2] hw/i386/sgx: Attach SGX-EPC to its memory backend

2022-01-23 Thread Yang Zhong
On Mon, Jan 17, 2022 at 12:48:10PM +0100, Paolo Bonzini wrote: > On 1/17/22 00:53, Philippe Mathieu-Daudé via wrote: > >We have one SGX-EPC address/size/node per memory backend, > >make it child of the backend in the QOM composition tree. > > > >Cc: Yang Zhong > >Signed-off-by: Philippe Mathieu-Da

Re: [RFC PATCH 2/2] hw/i386/sgx: Attach SGX-EPC to its memory backend

2022-01-17 Thread Yang Zhong
On Mon, Jan 17, 2022 at 12:48:10PM +0100, Paolo Bonzini wrote: > On 1/17/22 00:53, Philippe Mathieu-Daudé via wrote: > >We have one SGX-EPC address/size/node per memory backend, > >make it child of the backend in the QOM composition tree. > > > >Cc: Yang Zhong > >Signed-off-by: Philippe Mathieu-Da

Re: [RFC PATCH 2/2] hw/i386/sgx: Attach SGX-EPC to its memory backend

2022-01-17 Thread Philippe Mathieu-Daudé via
On 1/17/22 12:48, Paolo Bonzini wrote: > On 1/17/22 00:53, Philippe Mathieu-Daudé via wrote: >> We have one SGX-EPC address/size/node per memory backend, >> make it child of the backend in the QOM composition tree. >> >> Cc: Yang Zhong >> Signed-off-by: Philippe Mathieu-Daudé >> --- >>   hw/i386/

Re: [RFC PATCH 2/2] hw/i386/sgx: Attach SGX-EPC to its memory backend

2022-01-17 Thread Paolo Bonzini
On 1/17/22 00:53, Philippe Mathieu-Daudé via wrote: We have one SGX-EPC address/size/node per memory backend, make it child of the backend in the QOM composition tree. Cc: Yang Zhong Signed-off-by: Philippe Mathieu-Daudé --- hw/i386/sgx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[RFC PATCH 2/2] hw/i386/sgx: Attach SGX-EPC to its memory backend

2022-01-16 Thread Philippe Mathieu-Daudé via
We have one SGX-EPC address/size/node per memory backend, make it child of the backend in the QOM composition tree. Cc: Yang Zhong Signed-off-by: Philippe Mathieu-Daudé --- hw/i386/sgx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/i386/sgx.c b/hw/i386/sgx.c index 5de5dd08936..6362