qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [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 1/7] Only call kvm_set_irqfd() if CONFIG_KVM is defined Jes.Sorensen
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ 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] 12+ 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 6/7] Only treat KVM specific cmdline options for KVM enabled builds Jes.Sorensen
  0 siblings, 1 reply; 12+ 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] 12+ messages in thread
* [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 6/7] Only treat KVM specific cmdline options for KVM enabled builds Jes.Sorensen
  0 siblings, 1 reply; 12+ 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] 12+ 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 6/7] Only treat KVM specific cmdline options for KVM enabled builds Jes.Sorensen
  0 siblings, 1 reply; 12+ 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] 12+ messages in thread

end of thread, other threads:[~2010-06-22 12:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 1/7] Only call kvm_set_irqfd() if CONFIG_KVM is defined Jes.Sorensen
2010-06-15 14:32 ` [Qemu-devel] [PATCH 2/7] Remove duplicate kvm_init() stub from qemu-kvm.h Jes.Sorensen
2010-06-15 14:32 ` [Qemu-devel] [PATCH 3/7] time_drift_fix is x86 only, rather than !ia64 Jes.Sorensen
2010-06-15 14:32 ` [Qemu-devel] [PATCH 4/7] Build certain drivers for MIPS as well Jes.Sorensen
2010-06-15 14:32 ` [Qemu-devel] [PATCH 5/7] Only export phys_mem create functions for !CONFIG_USER_ONLY builds Jes.Sorensen
2010-06-15 14:32 ` [Qemu-devel] [PATCH 6/7] Only treat KVM specific cmdline options for KVM enabled builds Jes.Sorensen
2010-06-15 14:32 ` [Qemu-devel] [PATCH 7/7] Declare no_hpet variable for all targets Jes.Sorensen
2010-06-15 14:35 ` [Qemu-devel] Re: [PATCH v3 0/7] Fix building qemu-kvm for non KVM target Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2010-06-22 12:55 [Qemu-devel] [PATCH v4 " Jes.Sorensen
2010-06-22 12:56 ` [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 v2 0/7] Fix building qemu-kvm for non KVM target 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 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 6/7] Only treat KVM specific cmdline options for KVM enabled builds 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).