[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 02/38] hw/i386/kvmvapic: add missing include of tc
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [RFC 02/38] hw/i386/kvmvapic: add missing include of tcg.h |
Date: |
Mon, 07 Sep 2015 16:49:07 +0100 |
Emilio G. Cota <address@hidden> writes:
> So that the declaration of tb_lock can be found.
OK this confused me somewhat as exposing TCG details to the hardware
emulation seems broken. However I notice the code your adding to isn't
in Fred's latest series although the tb_gen_code ugliness is in master
so will need addressing.
I'm not sure why x86 is the special snowflake in this case. It looks
like a performance hack for emulation which I guess the other guests
don't do.
>
> Signed-off-by: Emilio G. Cota <address@hidden>
> ---
> hw/i386/kvmvapic.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/i386/kvmvapic.c b/hw/i386/kvmvapic.c
> index 1c3b5b6..a9a33fd 100644
> --- a/hw/i386/kvmvapic.c
> +++ b/hw/i386/kvmvapic.c
> @@ -13,6 +13,7 @@
> #include "sysemu/kvm.h"
> #include "hw/i386/apic_internal.h"
> #include "hw/sysbus.h"
> +#include "tcg/tcg.h"
>
> #define VAPIC_IO_PORT 0x7e
--
Alex Bennée
- Re: [Qemu-devel] [RFC 02/38] hw/i386/kvmvapic: add missing include of tcg.h,
Alex Bennée <=