* [Qemu-devel] [PATCH v2 0/7] Fix building qemu-kvm for non KVM target
@ 2010-06-15 12:51 Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 1/7] Only call kvm_set_irqfd() if CONFIG_KVM is defined Jes.Sorensen
` (6 more replies)
0 siblings, 7 replies; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-15 12:51 UTC (permalink / raw)
To: mtosatti; +Cc: jan.kiszka, qemu-devel, Jes Sorensen
From: Jes Sorensen <Jes.Sorensen@redhat.com>
Hi,
This set of patches fixes building qemu-kvm for non KVM targets, as
reported in
http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2984626&group_id=180599
One of the main problem is that we have a tendency to move things from
Makefile.objs to Makefile.target in order to be able to use
TARGET_I386 etc in hw/*.c files. IMHO we need to start clamping down
on this harder and move things into separate files rather than the
#ifdef hacks. Hence this patch fixes the short term problem, but there
is more work to do for the longer term.
This version updates the no_hpet build fix as pointed out by Jan Kiszka.
Cheers,
Jes
Jes Sorensen (7):
Only call kvm_set_irqfd() if CONFIG_KVM is defined
No need for kvm_init() stub as already defined in qemu-kvm.h
time_drift_fix is x86 only, rather than !ia64
Build certain drivers for MIPS as well.
Only export phys_mem create functions for !CONFIG_USER_ONLY builds
Only treat KVM specific cmdline options for KVM enabled builds
Declare no_hpet variable for all targets
Makefile.target | 2 ++
hw/i8259.c | 2 +-
hw/virtio-pci.c | 4 ++++
kvm-stub.c | 5 -----
qemu-kvm.h | 2 ++
vl.c | 4 ++--
6 files changed, 11 insertions(+), 8 deletions(-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH 1/7] Only call kvm_set_irqfd() if CONFIG_KVM is defined
2010-06-15 12:51 [Qemu-devel] [PATCH v2 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
@ 2010-06-15 12:51 ` Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 2/7] No need for kvm_init() stub as already defined in qemu-kvm.h Jes.Sorensen
` (5 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-15 12:51 UTC (permalink / raw)
To: mtosatti; +Cc: jan.kiszka, qemu-devel, Jes Sorensen
From: Jes Sorensen <Jes.Sorensen@redhat.com>
Only call kvm_set_irqfd() if CONFIG_KVM is defined to avoid breaking
the build for non x86.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
hw/virtio-pci.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index c3c1fcd..926b8e1 100644
--- a/hw/virtio-pci.c
+++ b/hw/virtio-pci.c
@@ -431,6 +431,7 @@ static void virtio_pci_guest_notifier_read(void *opaque)
static int virtio_pci_mask_notifier(PCIDevice *dev, unsigned vector,
void *opaque, int masked)
{
+#ifdef CONFIG_KVM
VirtQueue *vq = opaque;
EventNotifier *notifier = virtio_queue_get_guest_notifier(vq);
int r = kvm_set_irqfd(dev->msix_irq_entries[vector].gsi,
@@ -447,6 +448,9 @@ static int virtio_pci_mask_notifier(PCIDevice *dev, unsigned vector,
NULL, NULL, NULL);
}
return 0;
+#else
+ return -ENOSYS;
+#endif
}
static int virtio_pci_set_guest_notifier(void *opaque, int n, bool assign)
--
1.6.6.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH 2/7] No need for kvm_init() stub as already defined in qemu-kvm.h
2010-06-15 12:51 [Qemu-devel] [PATCH v2 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 1/7] Only call kvm_set_irqfd() if CONFIG_KVM is defined Jes.Sorensen
@ 2010-06-15 12:51 ` Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 3/7] time_drift_fix is x86 only, rather than !ia64 Jes.Sorensen
` (4 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-15 12:51 UTC (permalink / raw)
To: mtosatti; +Cc: jan.kiszka, qemu-devel, Jes Sorensen
From: Jes Sorensen <Jes.Sorensen@redhat.com>
No need for kvm_init() stub in kvm-stub.c as already defined in
qemu-kvm.h
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
kvm-stub.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/kvm-stub.c b/kvm-stub.c
index 7be5f5d..645fa1d 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -57,11 +57,6 @@ int kvm_check_extension(KVMState *s, unsigned int extension)
return 0;
}
-int kvm_init(int smp_cpus)
-{
- return -ENOSYS;
-}
-
void kvm_flush_coalesced_mmio_buffer(void)
{
}
--
1.6.6.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH 3/7] time_drift_fix is x86 only, rather than !ia64
2010-06-15 12:51 [Qemu-devel] [PATCH v2 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 1/7] Only call kvm_set_irqfd() if CONFIG_KVM is defined Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 2/7] No need for kvm_init() stub as already defined in qemu-kvm.h Jes.Sorensen
@ 2010-06-15 12:51 ` Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well Jes.Sorensen
` (3 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-15 12:51 UTC (permalink / raw)
To: mtosatti; +Cc: jan.kiszka, qemu-devel, Jes Sorensen
From: Jes Sorensen <Jes.Sorensen@redhat.com>
time_drift_fix is x86 only, rather than !ia64, to allow the code to
build for other archs, like MIPS.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
hw/i8259.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/i8259.c b/hw/i8259.c
index a8ae069..e89d831 100644
--- a/hw/i8259.c
+++ b/hw/i8259.c
@@ -237,7 +237,7 @@ int pic_read_irq(PicState2 *s)
if (irq >= 0) {
pic_intack(&s->pics[0], irq);
-#ifndef TARGET_IA64
+#ifdef TARGET_I386
if (time_drift_fix && irq == 0) {
extern int64_t timer_acks, timer_ints_to_push;
timer_acks++;
--
1.6.6.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well.
2010-06-15 12:51 [Qemu-devel] [PATCH v2 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
` (2 preceding siblings ...)
2010-06-15 12:51 ` [Qemu-devel] [PATCH 3/7] time_drift_fix is x86 only, rather than !ia64 Jes.Sorensen
@ 2010-06-15 12:51 ` Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 5/7] Only export phys_mem create functions for !CONFIG_USER_ONLY builds Jes.Sorensen
` (2 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-15 12:51 UTC (permalink / raw)
To: mtosatti; +Cc: jan.kiszka, qemu-devel, Jes Sorensen
From: Jes Sorensen <Jes.Sorensen@redhat.com>
pcspk.o i8254.o acpi.o acpi_piix4.o are all required for MIPS as well,
add them to Makefile.target accordingly.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
Makefile.target | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index a0e9747..26d1d93 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -245,6 +245,8 @@ obj-ppc-$(CONFIG_KVM) += kvm_ppc.o
obj-ppc-$(CONFIG_FDT) += device_tree.o
obj-mips-y = mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o
+obj-mips-y += pcspk.o i8254.o
+obj-mips-y += acpi.o acpi_piix4.o
obj-mips-y += mips_addr.o mips_timer.o mips_int.o
obj-mips-y += vga.o i8259.o
obj-mips-y += g364fb.o jazz_led.o
--
1.6.6.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH 5/7] Only export phys_mem create functions for !CONFIG_USER_ONLY builds
2010-06-15 12:51 [Qemu-devel] [PATCH v2 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
` (3 preceding siblings ...)
2010-06-15 12:51 ` [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well Jes.Sorensen
@ 2010-06-15 12:51 ` Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 6/7] Only treat KVM specific cmdline options for KVM enabled builds Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 7/7] Declare no_hpet variable for all targets Jes.Sorensen
6 siblings, 0 replies; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-15 12:51 UTC (permalink / raw)
To: mtosatti; +Cc: jan.kiszka, qemu-devel, Jes Sorensen
From: Jes Sorensen <Jes.Sorensen@redhat.com>
Only export phys_mem create functions for !CONFIG_USER_ONLY builds
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
qemu-kvm.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/qemu-kvm.h b/qemu-kvm.h
index 6f6c6d8..9adbc58 100644
--- a/qemu-kvm.h
+++ b/qemu-kvm.h
@@ -812,6 +812,7 @@ void qemu_kvm_cpuid_on_env(CPUState *env);
void kvm_inject_interrupt(CPUState *env, int mask);
void kvm_update_after_sipi(CPUState *env);
void kvm_update_interrupt_request(CPUState *env);
+#ifndef CONFIG_USER_ONLY
void *kvm_cpu_create_phys_mem(target_phys_addr_t start_addr, unsigned long size,
int log, int writable);
@@ -819,6 +820,7 @@ void kvm_cpu_destroy_phys_mem(target_phys_addr_t start_addr,
unsigned long size);
void kvm_qemu_log_memory(target_phys_addr_t start, target_phys_addr_t size,
int log);
+#endif
int kvm_qemu_create_memory_alias(uint64_t phys_start, uint64_t len,
uint64_t target_phys);
int kvm_qemu_destroy_memory_alias(uint64_t phys_start);
--
1.6.6.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH 6/7] Only treat KVM specific cmdline options for KVM enabled builds
2010-06-15 12:51 [Qemu-devel] [PATCH v2 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
` (4 preceding siblings ...)
2010-06-15 12:51 ` [Qemu-devel] [PATCH 5/7] Only export phys_mem create functions for !CONFIG_USER_ONLY builds Jes.Sorensen
@ 2010-06-15 12:51 ` Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 7/7] Declare no_hpet variable for all targets Jes.Sorensen
6 siblings, 0 replies; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-15 12:51 UTC (permalink / raw)
To: mtosatti; +Cc: jan.kiszka, qemu-devel, Jes Sorensen
From: Jes Sorensen <Jes.Sorensen@redhat.com>
Only treat KVM specific cmdline options for KVM enabled builds. This
fixes build breakage for target MIPS etc.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
vl.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/vl.c b/vl.c
index 9e9c176..e4a9aa9 100644
--- a/vl.c
+++ b/vl.c
@@ -3264,6 +3264,7 @@ int main(int argc, char **argv, char **envp)
case QEMU_OPTION_no_kvm:
kvm_allowed = 0;
break;
+#ifdef CONFIG_KVM
case QEMU_OPTION_no_kvm_irqchip: {
kvm_irqchip = 0;
kvm_pit = 0;
@@ -3281,6 +3282,7 @@ int main(int argc, char **argv, char **envp)
kvm_nested = 1;
break;
}
+#endif
#if defined(TARGET_I386) || defined(TARGET_X86_64) || defined(TARGET_IA64) || defined(__linux__)
case QEMU_OPTION_pcidevice:
if (assigned_devices_index >= MAX_DEV_ASSIGN_CMDLINE) {
--
1.6.6.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH 7/7] Declare no_hpet variable for all targets
2010-06-15 12:51 [Qemu-devel] [PATCH v2 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
` (5 preceding siblings ...)
2010-06-15 12:51 ` [Qemu-devel] [PATCH 6/7] Only treat KVM specific cmdline options for KVM enabled builds Jes.Sorensen
@ 2010-06-15 12:51 ` Jes.Sorensen
6 siblings, 0 replies; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-15 12:51 UTC (permalink / raw)
To: mtosatti; +Cc: jan.kiszka, qemu-devel, Jes Sorensen
From: Jes Sorensen <Jes.Sorensen@redhat.com>
We need to declare 'int no_hpet' for all targets to avoid build
failure on no x86 builds.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
vl.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/vl.c b/vl.c
index e4a9aa9..b9a9a76 100644
--- a/vl.c
+++ b/vl.c
@@ -214,9 +214,7 @@ int smp_cores = 1;
int smp_threads = 1;
const char *vnc_display;
int acpi_enabled = 1;
-#ifdef TARGET_I386
int no_hpet = 0;
-#endif
int fd_bootchk = 1;
int no_reboot = 0;
int no_shutdown = 0;
--
1.6.6.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH v4 0/7] Fix building qemu-kvm for non KVM target
@ 2010-06-22 12:55 Jes.Sorensen
2010-06-22 12:56 ` [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well Jes.Sorensen
0 siblings, 1 reply; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-22 12:55 UTC (permalink / raw)
To: avi; +Cc: Jes Sorensen, qemu-devel, kvm
From: Jes Sorensen <Jes.Sorensen@redhat.com>
Hi,
This set of patches fixes building qemu-kvm for non KVM targets, as
reported in
http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2984626&group_id=180599
One of the main problem is that we have a tendency to move things from
Makefile.objs to Makefile.target in order to be able to use
TARGET_I386 etc in hw/*.c files. IMHO we need to start clamping down
on this harder and move things into separate files rather than the
#ifdef hacks. Hence this patch fixes the short term problem, but there
is more work to do for the longer term.
This version is just a rebase against the latest version of qemu-kvm,
and I fixed up the commit messages a bit to remove a couple of
duplicated statements.
Cheers,
Jes
Jes Sorensen (7):
Only call kvm_set_irqfd() if CONFIG_KVM is defined
Remove duplicate kvm_init() stub from qemu-kvm.h
time_drift_fix is x86 only, rather than !ia64
Build certain drivers for MIPS as well.
Only export phys_mem create functions for !CONFIG_USER_ONLY builds
Only treat KVM specific cmdline options for KVM enabled builds
Declare no_hpet variable for all targets
Makefile.target | 2 ++
hw/i8259.c | 2 +-
hw/virtio-pci.c | 4 ++++
qemu-kvm.h | 31 ++++++++++++++-----------------
vl.c | 4 ++--
5 files changed, 23 insertions(+), 20 deletions(-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well.
2010-06-22 12:55 [Qemu-devel] [PATCH v4 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
@ 2010-06-22 12:56 ` Jes.Sorensen
0 siblings, 0 replies; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-22 12:56 UTC (permalink / raw)
To: avi; +Cc: Jes Sorensen, qemu-devel, kvm
From: Jes Sorensen <Jes.Sorensen@redhat.com>
pcspk.o i8254.o acpi.o acpi_piix4.o are all required for MIPS as well,
add them to Makefile.target accordingly.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
Makefile.target | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index b0bb434..730e392 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -245,6 +245,8 @@ obj-ppc-$(CONFIG_KVM) += kvm_ppc.o
obj-ppc-$(CONFIG_FDT) += device_tree.o
obj-mips-y = mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o
+obj-mips-y += pcspk.o i8254.o
+obj-mips-y += acpi.o acpi_piix4.o
obj-mips-y += mips_addr.o mips_timer.o mips_int.o
obj-mips-y += vga.o i8259.o
obj-mips-y += g364fb.o jazz_led.o
--
1.7.0.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH v3 0/7] Fix building qemu-kvm for non KVM target
@ 2010-06-15 14:32 Jes.Sorensen
2010-06-15 14:32 ` [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well Jes.Sorensen
0 siblings, 1 reply; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-15 14:32 UTC (permalink / raw)
To: mtosatti; +Cc: pbonzini, qemu-devel, Jes Sorensen
From: Jes Sorensen <Jes.Sorensen@redhat.com>
Hi,
This set of patches fixes building qemu-kvm for non KVM targets, as
reported in
http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2984626&group_id=180599
One of the main problem is that we have a tendency to move things from
Makefile.objs to Makefile.target in order to be able to use
TARGET_I386 etc in hw/*.c files. IMHO we need to start clamping down
on this harder and move things into separate files rather than the
#ifdef hacks. Hence this patch fixes the short term problem, but there
is more work to do for the longer term.
This version updates kvm_init() stub as pointed out by Paolo.
Cheers,
Jes
Jes Sorensen (7):
Only call kvm_set_irqfd() if CONFIG_KVM is defined
Remove duplicate kvm_init() stub from qemu-kvm.h
time_drift_fix is x86 only, rather than !ia64
Build certain drivers for MIPS as well.
Only export phys_mem create functions for !CONFIG_USER_ONLY builds
Only treat KVM specific cmdline options for KVM enabled builds
Declare no_hpet variable for all targets
Makefile.target | 2 ++
hw/i8259.c | 2 +-
hw/virtio-pci.c | 4 ++++
qemu-kvm.h | 31 ++++++++++++++-----------------
vl.c | 4 ++--
5 files changed, 23 insertions(+), 20 deletions(-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well.
2010-06-15 14:32 [Qemu-devel] [PATCH v3 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
@ 2010-06-15 14:32 ` Jes.Sorensen
0 siblings, 0 replies; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-15 14:32 UTC (permalink / raw)
To: mtosatti; +Cc: pbonzini, qemu-devel, Jes Sorensen
From: Jes Sorensen <Jes.Sorensen@redhat.com>
pcspk.o i8254.o acpi.o acpi_piix4.o are all required for MIPS as well,
add them to Makefile.target accordingly.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
Makefile.target | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index a0e9747..26d1d93 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -245,6 +245,8 @@ obj-ppc-$(CONFIG_KVM) += kvm_ppc.o
obj-ppc-$(CONFIG_FDT) += device_tree.o
obj-mips-y = mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o
+obj-mips-y += pcspk.o i8254.o
+obj-mips-y += acpi.o acpi_piix4.o
obj-mips-y += mips_addr.o mips_timer.o mips_int.o
obj-mips-y += vga.o i8259.o
obj-mips-y += g364fb.o jazz_led.o
--
1.6.6.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH 0/7] Fix building qemu-kvm for non KVM target
@ 2010-06-15 11:04 Jes.Sorensen
2010-06-15 11:04 ` [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well Jes.Sorensen
0 siblings, 1 reply; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-15 11:04 UTC (permalink / raw)
To: avi; +Cc: Jes Sorensen, qemu-devel
From: Jes Sorensen <Jes.Sorensen@redhat.com>
Hi,
This set of patches fixes building qemu-kvm for non KVM targets, as
reported in
http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2984626&group_id=180599
One of the main problem is that we have a tendency to move things from
Makefile.objs to Makefile.target in order to be able to use
TARGET_I386 etc in hw/*.c files. IMHO we need to start clamping down
on this harder and move things into separate files rather than the
#ifdef hacks. Hence this patch fixes the short term problem, but there
is more work to do for the longer term.
Cheers,
Jes
Jes Sorensen (7):
Only call kvm_set_irqfd() if CONFIG_KVM is defined
No need for kvm_init() stub as already defined in qemu-kvm.h
time_drift_fix is x86 only, rather than !ia64
Build certain drivers for MIPS as well.
Only export phys_mem create functions for !CONFIG_USER_ONLY builds
Only treat KVM specific cmdline options for KVM enabled builds
Only accept -no-hpet for i386 targets
Makefile.target | 2 ++
hw/i8259.c | 2 +-
hw/virtio-pci.c | 4 ++++
kvm-stub.c | 5 -----
qemu-kvm.h | 2 ++
vl.c | 4 ++++
6 files changed, 13 insertions(+), 6 deletions(-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well.
2010-06-15 11:04 [Qemu-devel] [PATCH 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
@ 2010-06-15 11:04 ` Jes.Sorensen
0 siblings, 0 replies; 11+ messages in thread
From: Jes.Sorensen @ 2010-06-15 11:04 UTC (permalink / raw)
To: avi; +Cc: Jes Sorensen, qemu-devel
From: Jes Sorensen <Jes.Sorensen@redhat.com>
pcspk.o i8254.o acpi.o acpi_piix4.o are all required for MIPS as well,
add them to Makefile.target accordingly.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
Makefile.target | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index a0e9747..26d1d93 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -245,6 +245,8 @@ obj-ppc-$(CONFIG_KVM) += kvm_ppc.o
obj-ppc-$(CONFIG_FDT) += device_tree.o
obj-mips-y = mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o
+obj-mips-y += pcspk.o i8254.o
+obj-mips-y += acpi.o acpi_piix4.o
obj-mips-y += mips_addr.o mips_timer.o mips_int.o
obj-mips-y += vga.o i8259.o
obj-mips-y += g364fb.o jazz_led.o
--
1.6.6.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-06-22 12:56 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-15 12:51 [Qemu-devel] [PATCH v2 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 1/7] Only call kvm_set_irqfd() if CONFIG_KVM is defined Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 2/7] No need for kvm_init() stub as already defined in qemu-kvm.h Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 3/7] time_drift_fix is x86 only, rather than !ia64 Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 5/7] Only export phys_mem create functions for !CONFIG_USER_ONLY builds Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 6/7] Only treat KVM specific cmdline options for KVM enabled builds Jes.Sorensen
2010-06-15 12:51 ` [Qemu-devel] [PATCH 7/7] Declare no_hpet variable for all targets Jes.Sorensen
-- strict thread matches above, loose matches on Subject: below --
2010-06-22 12:55 [Qemu-devel] [PATCH v4 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
2010-06-22 12:56 ` [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well Jes.Sorensen
2010-06-15 14:32 [Qemu-devel] [PATCH v3 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
2010-06-15 14:32 ` [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well Jes.Sorensen
2010-06-15 11:04 [Qemu-devel] [PATCH 0/7] Fix building qemu-kvm for non KVM target Jes.Sorensen
2010-06-15 11:04 ` [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well Jes.Sorensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).