Hi, I am trying to run Win2K on Xen 3.04 on a Core 2 Duo box, but have problem: - The image was created with qemu, and works well. - But Xen 3.04 fails to boot it: the progress bar on the Windows screen runs to the right end, then a black window appears, with a cursor blinked at the top left, then W2k stops there. Below is my configuration file. Do you see anything wrong with it? If no, how can I fix the problem? ..... kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 500 shadow_memory = 8 name = "w2k" disk = [''file:/home/jun/xen/kvmW2k.img,hda,w''] device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' sdl=1 serial=''pty'' localtime=1 stdvga=1 acpi=0 Many thanks, Jun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> I am trying to run Win2K on Xen 3.04 on a Core 2 Duo box, but have > problem: > > - The image was created with qemu, and works well. > - But Xen 3.04 fails to boot it: the progress bar on the Windows > screen runs to the right end, then a black window appears, with a > cursor blinked at the top left, then W2k stops there.In general you can''t install window on one ''machine'' and expect it to boot on another. Have you tried installing directly on xen? Also, if you use xen 3.1 you''ll find that you can specify acpi=1 apic=1 and use the ACPI APIC HAL, though Std PC HAL with acpi=0 apic=0 should work too (the former allows multiprocessor w2k guests). Ian> Below is my configuration file. Do you see anything wrong with it? If > no, how can I fix the problem? > > ..... > kernel = "/usr/lib/xen/boot/hvmloader" > builder=''hvm'' > memory = 500 > shadow_memory = 8 > name = "w2k" > disk = [''file:/home/jun/xen/kvmW2k.img,hda,w''] > device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' > sdl=1 > serial=''pty'' > localtime=1 > stdvga=1 > acpi=0 > > > > > Many thanks, > Jun > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 7/2/07, Ian Pratt <Ian.Pratt@cl.cam.ac.uk> wrote:> > I am trying to run Win2K on Xen 3.04 on a Core 2 Duo box, but have > > problem: > > > > - The image was created with qemu, and works well. > > - But Xen 3.04 fails to boot it: the progress bar on the Windows > > screen runs to the right end, then a black window appears, with a > > cursor blinked at the top left, then W2k stops there. > > In general you can''t install window on one ''machine'' and expect it to > boot on another. >No, I created the image (with qemu) on the *same* machine. The problem is that qemu works well with it, but Xen 3.04 fails. So my configuration file is good? (I have little experience with HVM)> Have you tried installing directly on xen? >No, but I expect that Xen can boot the qemu image. I will try it with Xen, though. Thanks, Jun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> > In general you can''t install window on one ''machine'' and expect itto> > boot on another. > > > > No, I created the image (with qemu) on the *same* machine. The problem > is that qemu works well with it, but Xen 3.04 fails.Xen is a different virtual machine from qemu -- you can''t necessarily expect to move images directly between the two (though it does often work). Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 7/2/07, Ian Pratt <Ian.Pratt@cl.cam.ac.uk> wrote:> > > In general you can''t install window on one ''machine'' and expect it > to > > > boot on another. > > > > > > > No, I created the image (with qemu) on the *same* machine. The problem > > is that qemu works well with it, but Xen 3.04 fails. > > Xen is a different virtual machine from qemu -- you can''t necessarily > expect to move images directly between the two (though it does often > work).Seeing that Xen uses qemu as its device model, that is really intersting! Could you explain a bit why and what are the differences between Xen and qemu, so some qemu machine cannot run on Xen? Thank you, Jun> > Ian >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> > Xen is a different virtual machine from qemu -- you can''tnecessarily> > expect to move images directly between the two (though it does often > > work). > > Seeing that Xen uses qemu as its device model, that is really > intersting! > > Could you explain a bit why and what are the differences between Xen > and qemu, so some qemu machine cannot run on Xen?There''s more to it than just the device models: there''s the CPU and firmware (ACPI, BIOS) etc. You certainly need to make sure that the combination of options you set in QEMU are identical to what you set in Xen otherwise you won''t stand a chance of it working. Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel