| To: | xen-users@xxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | [Xen-users] fast boot from xen to linux and vice-versa by kexec |
| From: | min li <fly.limin@xxxxxxxxx> |
| Date: | 2010年4月26日 14:29:39 +0800 |
| Delivery-date: | 2010年4月25日 23:31:13 -0700 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=iiaOJ1ul7N2NRFL96Lh+bz7Vt7C+hJQONTAaL1XjYmw=; b=G1fvkG9LOAwm5hzYV+ExgiIH9IVXcoM7V7/G6gsGzzh3Iyg5bPGf3/+KcsJr7npx21 np9xKO801ywuin4v+ITRsb2rfWkR8zXdIeHijwwVP/wzbg+DHyVj6TCHiseRYZBMleeb oosxRnAEbm10M+WcfBjBHwWKRwQZChHMhinVU= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=daxNIVre+baw9nv+qH1ZNDCS7IKZUENfe4uzNjUj4tYXlxJTqYLMx5PICU+zOGafWl hVmmxqBe5FBmvEh/JbLNEtVLl1bYG0vMdbs/3SaSX+sB9CsIjMWkr0Aqdc6fPcwfjHUA 3CPvCZW6zevlYx6MsDL3UMTydJlSpiWjD98zM= |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| List-help: | <mailto:xen-users-request@lists.xensource.com?subject=help> |
| List-id: | Xen user discussion <xen-users.lists.xensource.com> |
| List-post: | <mailto:xen-users@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe> |
| Sender: | xen-users-bounces@xxxxxxxxxxxxxxxxxxx |
Hi: recently i am doing fast boot from linux kernel to Xen hypervisor,and vice-versa. it means when linux is running on the real machine, i just want to switch to Xen hypervisor without going through bootloader. both linux and dom0 of Xen using the same filesystem. we boot Xen and the Linux with the following command in grub: title Ubuntu 8.04.2, kernel 2.6.29 root (hd0,7) kernel /boot/vmlinuz-2.6.29 root=UUID=f16e6c92-7903-4884-a903-95bd7456f8a4 ro quiet splash locale=zh_CN initrd /boot/2.6.29.img quiet title Xen 3.3.1 Ubuntu root (hd0,7) kernel /boot/xen-3.3.1.gz loglvl=all guest_loglvl=all debug_stack_lines=80 com1=9600,8n1 module /boot/vmlinuz-2.6.18.8-xen ro root=UUID=f16e6c92-7903-4884-a903-95bd7456f8a4 rhgb quiet xencons=ttyS0,9600 module /boot/initrd-2.6.18.8-xen.img and i write the kexec command like : fast boot linux script : kexec -l /boot/vmlinuz-2.6.29 --command-line="root=UUID=f16e6c92-7903-4884-a903-95bd7456f8a4 ro quiet splash locale=zh_CN" --initrd="/boot/2.6.29.img" kexec -e fast boot xen script : kexec -l -t multiboot-x86 --append="loglvl=all guest_loglvl=all debug_stack_lines=80 com1=9600,8n1" --module="/boot/vmlinuz-2.6.18.8-xen ro root= UUID=f16e6c92-7903-4884-a903-95bd7456f8a4 rhgb quiet xencons=ttyS0,9600" --module="/boot/initrd-2.6.18.8-xen.img" /boot/xen-3.3.1.gz kexec -e the consequence is that (1)when i was in linux, the both two scripts worked fine (2)when i was in xen dom0, the "fast boot xen script " works fine, but the "fast boot linux script" failed. any suggestions to me are appreciated , thanks ! -- Min Li School of Computer Science and Technology Cluster and Grid Computing Lab Services Computing Technology and System Lab Huazhong University of Science and Technology Wuhan, 430074, China Tel: +86-139-8625-1431 Email: fly.limin@xxxxxxxxx _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Xen-users] Xen 4.0 - No console prompt after booting domU but functional SSH , Adi Kriegisch |
|---|---|
| Next by Date: | Re: [Xen-users] dom0 kernel , Boris Derzhavets |
| Previous by Thread: | [Xen-users] Experiencing memory leak of xend/qemu-dm , dongkyu lee |
| Next by Thread: | [Xen-users] trouble with xenserver and xfs (soft lockup - CPU#0 stuck for 61s!) , Sebastian Gosenheimer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |