[libvirt] [PATCH] qemu: Check for ia64 kvm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Dustin Xiong <x_k_123@xxxxxxxxxxx>

Ported to current code. Untested, but builds fine.

Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx>
---
 src/qemu/qemu_conf.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index d3da776..0d970d6 100644
--- a/src/qemu/qemu_conf.c
+++ b/src/qemu/qemu_conf.c
@@ -373,12 +373,19 @@ static const struct qemu_feature_flags const arch_info_x86_64_flags [] = {
     { "apic", 1, 0 },
 };
 
+static const struct qemu_feature_flags const arch_info_ia64_flags [] = {
+    { "acpi", 1, 1 },
+    { "apic", 1, 0 },
+};
+
 /* The archicture tables for supported QEMU archs */
 static const struct qemu_arch_info const arch_info_hvm[] = {
     {  "i686",   32, NULL, "/usr/bin/qemu",
        "/usr/bin/qemu-system-x86_64", arch_info_i686_flags, 4 },
     {  "x86_64", 64, NULL, "/usr/bin/qemu-system-x86_64",
        NULL, arch_info_x86_64_flags, 2 },
+    {  "itanium", 64, NULL, "/usr/bin/qemu-system-ia64",
+       NULL, arch_info_ia64_flags, 2},
     {  "arm",    32, NULL, "/usr/bin/qemu-system-arm",    NULL, NULL, 0 },
     {  "mips",   32, NULL, "/usr/bin/qemu-system-mips",   NULL, NULL, 0 },
     {  "mipsel", 32, NULL, "/usr/bin/qemu-system-mipsel", NULL, NULL, 0 },
-- 
1.6.5.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]