On Fri, Dec 5, 2008 at 3:52 PM, Jun Koi <junkoi2004@xxxxxxxxx> wrote:
> Hi,
>
> I have an Windows VM in QEMU format (qcow2: btw, how can I confirm
> that is qcow2, but not other formats?). How can I reuse that to run as
> HVM in Xen?
>
It seems we just run QEMU image normally?
My notes:
- It seems that 3.3.0 (or -unstable tree) no longer sets bridge name
as "xenbr0", but renames it to "vnet0"?
- It took me a long time to notice that hvmloader failed to compile,
as bcc is missing. But the error message that mentions "dev86 package
is needed" was very misleading, and it took me a while to figure it
out that what I really need is "bcc". So I think it is better to fix
this error message so it is more clear to users.
I tried to create HVM from my QEMU image, but have some problems.
Below is my configuration file for my QEMU image (winxp). I started it
with "xm create xp3.cfg", but only saw an VNC window appeared for 1
sec, then crashed when starting to boot the image (BIOS loading seems
to be done at the crashed time). Attached is also qemu-dm.log file.
Please anybody tell me what is the problem?
Thanks,
Jun
xp3.cfg
---------
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = '800'
device_model='/usr/lib/xen/bin/qemu-dm'
disk = ['file:/home/xen/img/img.xp3,ioemu:hda,w']
name = "xp3"
# vif = ['type=ioemu, bridge=xenbr0']
vif = ['type=ioemu, bridge=vnet0']
boot="d"
vnc=1
vncviewer=1
sdl=0
/var/log/xen/qemu-dm-xp3.log
--------------------------------------
domid: 7
qemu: the number of cpus is 1
config qemu network with xen bridge for tap7.0 vnet0
Watching /local/domain/0/device-model/7/logdirty/next-active
Watching /local/domain/0/device-model/7/command
xs_read(): vncpasswd get error.
/vm/bb7c12a8-25e0-d91b-8ab5-0298eb5ae815/vncpasswd.
qemu_map_cache_init nr_buckets = 4000 size 196608
shared page at pfn 31ffe
buffered io page at pfn 31ffc
Time offset set 0
Register xen platform.
Done register platform.
xs_read(/local/domain/0/device-model/7/xen_extended_power_mgmt): read error
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
stolen video RAM at 317f8000
mapping video RAM from 317f8000
mapping vram to f0000000 - f0800000
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|