[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 09/10] hw/mips: malta: Add KVM support
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v2 09/10] hw/mips: malta: Add KVM support |
Date: |
Sat, 21 Dec 2013 20:42:33 +0000 |
On 16 December 2013 14:12, James Hogan <address@hidden> wrote:
> In KVM mode the bootrom is loaded and executed from the last 1MB of
> DRAM.
>
> Based on "[PATCH 12/12] KVM/MIPS: General KVM support and support for
> SMP Guests" by Sanjay Lal <address@hidden>.
>
> Signed-off-by: James Hogan <address@hidden>
> Cc: Aurelien Jarno <address@hidden>
> ---
> Changes in v2:
> - Removal of cps / GIC / SMP support
> - Minimal bootloader modified to execute safely from RAM
> - Remove "Writing bootloader to final 1MB of RAM" printf
> ---
> hw/mips/mips_malta.c | 85
> ++++++++++++++++++++++++++++++++++++++--------------
> 1 file changed, 63 insertions(+), 22 deletions(-)
>
> diff --git a/hw/mips/mips_malta.c b/hw/mips/mips_malta.c
> index 05c8771..3fff07c 100644
> --- a/hw/mips/mips_malta.c
> +++ b/hw/mips/mips_malta.c
> @@ -51,6 +51,10 @@
> #include "sysemu/qtest.h"
> #include "qemu/error-report.h"
> #include "hw/empty_slot.h"
> +#include "qemu/bitmap.h"
> +#include "sysemu/kvm.h"
> +#include "linux/kvm.h"
You can't include linux/kvm.h like this -- on Linux this will pull in
whatever the host's system kvm.h happens to be, and on non-Linux
it won't compile:
/Users/pm215/src/qemu/hw/mips/mips_malta.c:56:10: fatal error:
'linux/kvm.h' file not found
#include "linux/kvm.h"
^
1 error generated.
thanks
-- PMM
- Re: [Qemu-devel] [PATCH v2 08/10] hw/mips: In KVM mode, inject IRQ2 (I/O) interupts via ioctls, (continued)
- [Qemu-devel] [PATCH v2 10/10] target-mips: Enable KVM support in build system, James Hogan, 2013/12/16
- [Qemu-devel] [PATCH v2 02/10] hw/mips: Add API to convert KVM guest KSEG0 <-> GPA, James Hogan, 2013/12/16
- [Qemu-devel] [PATCH v2 06/10] target-mips: Set target page size to 16K in KVM mode, James Hogan, 2013/12/16
- [Qemu-devel] [PATCH v2 09/10] hw/mips: malta: Add KVM support, James Hogan, 2013/12/16
- [Qemu-devel] [PATCH v2 03/10] target-mips: get_physical_address: Add defines for segment bases, James Hogan, 2013/12/16
- [Qemu-devel] [PATCH v2 07/10] target-mips: kvm: Add main KVM support for MIPS, James Hogan, 2013/12/16
- [Qemu-devel] [PATCH v2 01/10] hw/mips/cputimer: Don't start periodic timer in KVM mode, James Hogan, 2013/12/16
- [Qemu-devel] [PATCH v2 04/10] target-mips: get_physical_address: Add KVM awareness, James Hogan, 2013/12/16