[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC v2 14/18] guest memory protection: Rework the "memory-encryptio
From: |
Richard Henderson |
Subject: |
Re: [RFC v2 14/18] guest memory protection: Rework the "memory-encryption" property |
Date: |
Mon, 1 Jun 2020 20:54:42 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 5/20/20 8:43 PM, David Gibson wrote:
> +++ b/include/hw/boards.h
> @@ -12,6 +12,8 @@
> #include "qom/object.h"
> #include "hw/core/cpu.h"
>
> +typedef struct GuestMemoryProtection GuestMemoryProtection;
> +
I think this needs to be in include/qemu/typedefs.h,
and the other typedef in patch 10 needs to be moved there.
IIRC, clang warns about duplicate typedefs.
r~
- Re: [RFC v2 14/18] guest memory protection: Rework the "memory-encryption" property,
Richard Henderson <=