Hi,<div><br></div><div>To use Opennebula with windows I use this template and run ok:</div><div><br><div>NAME = vm</div><div>OS = [</div><div> kernel = "/usr/lib/xen/boot/hvmloader"]</div><div><br></div>
<div>CPU = 1</div><div>MEMORY =1000</div><div>DISK=[</div><div>source="/srv/cloud/images/win.img",</div><div>target="hda"]</div><div><br></div><div>GRAPHICS=[</div><div>type ="vnc",</div><div>
listen="0.0.0.0",</div><div>port="5900"]</div><div><br></div><div>RAW =[type ="xen",data="builder='hvm'"]</div><div>RAW =[type="xen",data="device_model='/usr/lib/xen/bin/qemu-dm'"]</div>
<div>RAW =[type="xen",data="vif=['type=ioemu,bridge=eth0"]</div><div><br></div><div>Regards,</div><div><br></div><div>Sergio</div><div class="gmail_quote">2010/2/5 makhanmail <span dir="ltr"><<a href="mailto:makhanmail@gmail.com">makhanmail@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I'm using OpenNebula 1.4 with Xen hypervisor and I can't seem to run Windows VM<br>
I'm using this configuration file:<br>
<br>
NAME = vm-win<br>
CPU = 1<br>
MEMORY = 2048<br>
OS = [<br>
kernel="/usr/lib/xen/boot/hvmloader",<br>
root = "sda1"<br>
]<br>
DISK = [<br>
source = "/kruk/obrazy/xp_xen_chyba_ok.img",target="sda1",<br>
readonly = "no" ]<br>
NIC = [ NETWORK = "Siec wewnetrzna5" ]<br>
<br>
<br>
When I'm trying to use hvmloader kernel, I get an error:<br>
Fri Feb 5 00:28:08 2010 [VMM][I]: Error: (2, 'Invalid kernel', "elf_xen_note_check: ERROR: Not a Xen-ELF image: No ELF notes or '__xen_guest' section found.\n")<br>
<br>
When I'm not specifying any kernel and initrd, I get an error:<br>
Thu Feb 4 23:56:54 2010 [VMM][E]: No kernel or bootloader defined and no default provided.<br>
<br>
When I'm specifying vmlinuz-2.6.27.21-0.1-xen as kernel and initrd-2.6.27.21-0.1-xen as initrd, it goes into RUNNING state, but I can't access it (I have a DHCP server running in the network and it's working fine with Ubuntu image). The xm console command shows:<br>
[...]<br>
TCP: Hash tables configured (established 262144 bind 65536)<br>
TCP reno registered<br>
NET: Registered protocol family 1<br>
Unpacking initramfs... done<br>
Freeing initrd memory: 13272k freed<br>
platform rtc_cmos: registered platform RTC device (no PNP device found)<br>
audit: initializing netlink socket (disabled)<br>
type=2000 audit(1265328318.192:1): initialized<br>
VFS: Disk quotas dquot_6.5.1<br>
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)<br>
msgmni has been set to 1030<br>
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)<br>
io scheduler noop registered<br>
io scheduler anticipatory registered<br>
io scheduler deadline registered<br>
io scheduler cfq registered (default)<br>
Non-volatile memory driver v1.2<br>
Xen virtual console successfully installed as xvc0<br>
Event-channel device installed.<br>
PNP: No PS/2 controller found. Probing ports directly.<br>
i8042.c: No controller found.<br>
mice: PS/2 mouse device common for all mice<br>
TCP cubic registered<br>
registered taskstats version 1<br>
XENBUS: Device with no driver: device/vbd/2049<br>
XENBUS: Device with no driver: device/vif/0<br>
Freeing unused kernel memory: 284k freed<br>
Write protecting the kernel read-only data: 4424k<br>
thermal: Unknown symbol acpi_processor_set_thermal_limit<br>
SCSI subsystem initialized<br>
BIOS EDD facility v0.16 2004-Jun-25, 0 devices found<br>
EDD information not available.<br>
netfront: Initialising virtual ethernet driver.<br>
xen-vbd: registered block device major 8<br>
udevd version 128 started<br>
<br>
<br>
So what kernel and initrd should I use, to get a fully running Windows XP VM?<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div><br></div>