[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/4] whpx: Fixes include of whp-dispatch.h in whpx.h
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 3/4] whpx: Fixes include of whp-dispatch.h in whpx.h |
Date: |
Thu, 7 Jan 2021 08:22:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
On 1/7/21 6:38 AM, Yonggang Luo wrote:
> Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
> ---
> include/sysemu/whpx.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/sysemu/whpx.h b/include/sysemu/whpx.h
> index 9346fd92e9..0e6c9faaf6 100644
> --- a/include/sysemu/whpx.h
> +++ b/include/sysemu/whpx.h
> @@ -15,7 +15,7 @@
>
> #ifdef CONFIG_WHPX
>
> -#include "whp-dispatch.h"
> +#include "target/i386/whpx/whp-dispatch.h"
"sysemu" should not include target/...
$ git grep target/ include/sysemu/ | wc -l
0
Maybe what you want is:
-- >8 --
diff --git a/include/sysemu/whpx.h b/include/sysemu/whpx.h
index 9346fd92e93..4f38784d7e4 100644
--- a/include/sysemu/whpx.h
+++ b/include/sysemu/whpx.h
@@ -15,7 +15,7 @@
#ifdef CONFIG_WHPX
-#include "whp-dispatch.h"
+#include <WinHvPlatformDefs.h>
struct whpx_state {
uint64_t mem_quota;
---