]> git.pld-linux.org Git - packages/qemu-kvm.git/commitdiff
- Replace obsolete qemu-kvm.h with kvm.h in pci.c and build that module
authorGrzesiek Pycia <gzohop@pld-linux.org>
Tue, 22 Mar 2011 19:42:48 +0000 (19:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
just like upstream does. This fixes non-x86 targets which have no PCI
support.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
Changed files:
    qemu-kvm-pci.patch -> 1.1

qemu-kvm-pci.patch [new file with mode: 0644]

diff --git a/qemu-kvm-pci.patch b/qemu-kvm-pci.patch
new file mode 100644 (file)
index 0000000..a1b8bc5
--- /dev/null
@@ -0,0 +1,36 @@
+diff -urN qemu-kvm-0.14.0.orig/hw/pci.c qemu-kvm-0.14.0/hw/pci.c
+--- qemu-kvm-0.14.0.orig/hw/pci.c      2011-02-22 14:34:38.000000000 +0100
++++ qemu-kvm-0.14.0/hw/pci.c   2011-03-21 22:48:24.781586393 +0100
+@@ -29,7 +29,7 @@
+ #include "net.h"
+ #include "sysemu.h"
+ #include "loader.h"
+-#include "qemu-kvm.h"
++#include "kvm.h"
+ #include "hw/pc.h"
+ #include "device-assignment.h"
+ #include "qemu-objects.h"
+diff -urN qemu-kvm-0.14.0.orig/Makefile.objs qemu-kvm-0.14.0/Makefile.objs
+--- qemu-kvm-0.14.0.orig/Makefile.objs 2011-02-22 14:34:38.000000000 +0100
++++ qemu-kvm-0.14.0/Makefile.objs      2011-03-21 22:47:25.342208396 +0100
+@@ -170,7 +170,7 @@
+ hw-obj-y += loader.o
+ hw-obj-$(CONFIG_VIRTIO) += virtio.o virtio-console.o
+ hw-obj-y += fw_cfg.o
+-hw-obj-$(CONFIG_PCI) += pci_bridge.o
++hw-obj-$(CONFIG_PCI) += pci.o pci_bridge.o
+ hw-obj-$(CONFIG_PCI) += msix.o msi.o
+ hw-obj-$(CONFIG_PCI) += pci_host.o pcie_host.o
+ hw-obj-$(CONFIG_PCI) += ioh3420.o xio3130_upstream.o xio3130_downstream.o
+diff -urN qemu-kvm-0.14.0.orig/Makefile.target qemu-kvm-0.14.0/Makefile.target
+--- qemu-kvm-0.14.0.orig/Makefile.target       2011-02-22 14:34:38.000000000 +0100
++++ qemu-kvm-0.14.0/Makefile.target    2011-03-21 22:47:25.345541881 +0100
+@@ -195,7 +195,7 @@
+ # System emulator target
+ ifdef CONFIG_SOFTMMU
+-obj-y = arch_init.o cpus.o monitor.o pci.o machine.o gdbstub.o vl.o balloon.o
++obj-y = arch_init.o cpus.o monitor.o machine.o gdbstub.o vl.o balloon.o
+ # virtio has to be here due to weird dependency between PCI and virtio-net.
+ # need to fix this properly
+ obj-$(CONFIG_NO_PCI) += pci-stub.o
This page took 0.032603 seconds and 4 git commands to generate.