[pve-devel] [PATCH RFC qemu-kvm 1/1] Provides a virtual package qemu-system-x86

Emmanuel Kasper e.kasper at proxmox.com
Thu Sep 21 10:26:46 CEST 2017


Mainly to allow libguestfs and associated tools to work with our qemu binary.

libguestfs tests at run timethe output of qemu -help and qemu -device ?
to detect which features it can use, so it should not
depend on which configure flags were used when compiling our qemu binary.
---
 debian/control            | 4 ++--
 debian/pve-qemu-kvm.links | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100644 debian/pve-qemu-kvm.links

diff --git a/debian/control b/debian/control
index ecf65c2..591cb61 100644
--- a/debian/control
+++ b/debian/control
@@ -45,8 +45,8 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
  numactl,
  libjemalloc1,
  libjpeg62-turbo
-Conflicts: qemu, qemu-kvm, qemu-utils, kvm, pve-kvm, pve-qemu-kvm-2.6.18
-Provides: qemu-utils
+Conflicts: qemu, qemu-kvm, qemu-utils, qemu-system-x86, kvm, pve-kvm, pve-qemu-kvm-2.6.18
+Provides: qemu-utils, qemu-system-x86
 Replaces: pve-kvm, pve-qemu-kvm-2.6.18, qemu-utils
 Description: Full virtualization on x86 hardware
  Using KVM, one can run multiple virtual PCs, each running unmodified Linux or
diff --git a/debian/pve-qemu-kvm.links b/debian/pve-qemu-kvm.links
new file mode 100644
index 0000000..8e769d8
--- /dev/null
+++ b/debian/pve-qemu-kvm.links
@@ -0,0 +1 @@
+/usr/bin/kvm /usr/bin/qemu-system-x86_64
-- 
2.11.0





More information about the pve-devel mailing list