[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re:Re:Re: [Xen-devel] some errors of pvonhvm : xen-blkfront
hi Stefano thanks for your time As your method, I modified my /boo/grub/grub.cfg of ubuntu10.10 like this: ==================================================== menuentry 'Ubuntu, with Linux 2.6.35.4.pvonhvm' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set 3336889c-576e-4088-a6ff-89e869289766 linux /boot/vmlinuz-2.6.35.4 root=UUID=3336889c-576e-4088-a6ff-89e869289766 ro xen_emul_unplug=aux-ide-disks initrd /boot/initrd.img-2.6.35.4.pvonhvm.0415 } ======================================================= then I reboot the Guest OS , I found the boot disk is still the xen-blkfront, not the qemu emulate. I reviewed the source of ./arch/x86/xen/platform-pci-unplug.c. there are several parameters, such as: =================================================================== if (!strncmp(p, "all", l)) xen_emul_unplug |= XEN_UNPLUG_ALL; else if (!strncmp(p, "ide-disks", l)) xen_emul_unplug |= XEN_UNPLUG_ALL_IDE_DISKS; else if (!strncmp(p, "aux-ide-disks", l)) xen_emul_unplug |= XEN_UNPLUG_AUX_IDE_DISKS; else if (!strncmp(p, "nics", l)) xen_emul_unplug |= XEN_UNPLUG_ALL_NICS; else if (!strncmp(p, "unnecessary", l)) xen_emul_unplug |= XEN_UNPLUG_UNNECESSARY; else if (!strncmp(p, "never", l)) xen_emul_unplug |= XEN_UNPLUG_NEVER; ========================================================= In my opinion , If I want to use the emulated disk , I should set xen_emul_unplug = XEN_UNPLUG_UNNECESSARY or xen_emul_unplug = XEN_NEVER right? I try these two ways, but I still failed. Could you please tell me where can I get the source of kernel 2.6.35 with pvonhvm??? Thank you very much.
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |