1 Currently, kvm module in EXPERIMENTAL stage on IA64. This means that
2 interfaces are not stable enough to use. So, plase had better don't run
3 critical applications in virtual machine. We will try our best to make it
4 strong in future versions!
5 Guide: How to boot up guests on kvm/ia64
7 This guide is to describe how to enable kvm support for IA-64 systems.
9 1. Get the kvm source from git.kernel.org.
11 git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-userspace.git
13 git clone git://git.kernel.org/pub/scm/linux/kernel/git/xiantao/kvm-ia64.git
15 2. Compile the source code.
16 2.1 Compile userspace code:
20 (4)make sync LINUX= $kernel_dir (kernel_dir is the directory of kernel source.)
23 (7)cd qemu; make install
25 2.2 Compile kernel source code:
28 (3) Enter into virtualization option, and choose kvm.
30 (5) Once (4) done, make modules_install
31 (6) Make initrd, and use new kernel to reboot up host machine.
32 (7) Once (6) done, cd $kernel_dir/arch/ia64/kvm
33 (8) insmod kvm.ko; insmod kvm-intel.ko
35 Note: For step 2, please make sure that host page size == TARGET_PAGE_SIZE of qemu, otherwise, may fail.
37 3. Get Guest Firmware named as Flash.fd, and put it under right place:
38 (1) If you have the guest firmware (binary) released by Intel Corp for Xen, use it directly.
40 (2) If you have no firmware at hand, Please download its source from
41 hg clone http://xenbits.xensource.com/ext/efi-vfirmware.hg
42 you can get the firmware's binary in the directory of efi-vfirmware.hg/binaries.
44 (3) Rename the firware you owned to Flash.fd, and copy it to /usr/local/share/qemu
46 4. Boot up Linux or Windows guests:
47 4.1 Create or install a image for guest boot. If you have xen experience, it should be easy.
49 4.2 Boot up guests use the following command.
50 /usr/local/bin/qemu-system-ia64 -smp xx -m 512 -hda $your_image
51 (xx is the number of virtual processors for the guest, now the maximum value is 4)
53 5. Known possibile issue on some platforms with old Firmware.
55 If meet strange host crashe issues, try to solve it through either of the following ways:
57 (1): Upgrade your Firmware to the latest one.
59 (2): Applying the below patch to kernel source.
60 diff --git a/arch/ia64/kernel/pal.S b/arch/ia64/kernel/pal.S
61 index 0b53344..f02b0f7 100644
62 --- a/arch/ia64/kernel/pal.S
63 +++ b/arch/ia64/kernel/pal.S
64 @@ -84,7 +84,8 @@ GLOBAL_ENTRY(ia64_pal_call_static)
68 - srlz.d // seralize restoration of psr.l
69 + srlz.i // seralize restoration of psr.l
72 END(ia64_pal_call_static)
75 If you found any issues when use kvm/ia64, Please post the bug info to kvm-ia64-devel mailing list.
76 https://lists.sourceforge.net/lists/listinfo/kvm-ia64-devel/
78 Thanks for your interest! Let's work together, and make kvm/ia64 stronger and stronger!
81 Xiantao Zhang <xiantao.zhang@intel.com>