Hi,
I'm trying to get a windoze 7 to run as a domU on a fresh install of
gentoo with xen. I need to use the installer ISO to boot from and to
install into a partition on a physical disk.
Running 'xl -vvv create /etc/xen/ws-01.hvm' gives me the following messages:
Parsing config from /etc/xen/ws-01.hvm
libxl: debug: libxl_create.c:1504:do_domain_create: ao 0x1a97440:
create: how=(nil) callback=(nil) poller=0x1a974a0
libxl: verbose: libxl_create.c:137:libxl__domain_build_info_setdefault:
qemu-xen is unavailable, use qemu-xen-traditional instead: No such file
or directory
libxl: debug: libxl_device.c:269:libxl__device_disk_set_backend: Disk
vdev=hda spec.backend=unknown
libxl: debug: libxl_device.c:298:libxl__device_disk_set_backend: Disk
vdev=hda, using backend phy
libxl: debug: libxl_device.c:269:libxl__device_disk_set_backend: Disk
vdev=hdc spec.backend=unknown
libxl: debug: libxl_device.c:215:disk_try_backend: Disk vdev=hdc,
backend phy unsuitable as phys path not a block device
libxl: debug: libxl_device.c:298:libxl__device_disk_set_backend: Disk
vdev=hdc, using backend qdisk
libxl: debug: libxl_create.c:907:initiate_domain_create: running bootloader
libxl: debug: libxl_bootloader.c:323:libxl__bootloader_run: not a PV
domain, skipping bootloader
libxl: debug: libxl_event.c:629:libxl__ev_xswatch_deregister: watch
w=0x1a97d70: deregister unregistered
libxl: debug: libxl_numa.c:483:libxl__get_numa_candidate: New best NUMA
placement candidate found: nr_nodes=1, nr_cpus=12, nr_vcpus=26,
free_memkb=9875
libxl: debug: libxl_numa.c:483:libxl__get_numa_candidate: New best NUMA
placement candidate found: nr_nodes=1, nr_cpus=12, nr_vcpus=26,
free_memkb=10311
libxl: detail: libxl_dom.c:196:numa_place_domain: NUMA placement
candidate with 1 nodes, 12 cpus and 10311 KB free selected
libxl: detail: libxl_dom.c:254:hvm_set_viridian_features: base group enabled
libxl: detail: libxl_dom.c:254:hvm_set_viridian_features: freq group enabled
libxl: detail: libxl_dom.c:254:hvm_set_viridian_features: time_ref_count
group enabled
xc: error: Could not open kernel image (2 = No such file or directory):
Internal error
libxl: error: libxl_dom.c:818:libxl__build_hvm: hvm building failed
libxl: error: libxl_create.c:1121:domcreate_rebuild_done: cannot
(re-)build domain: -3
libxl: error: libxl_dm.c:1595:kill_device_model: unable to find device
model pid in /local/domain/12/image/device-model-pid
libxl: error: libxl.c:1608:libxl__destroy_domid:
libxl__destroy_device_model failed for 12
libxl: info: libxl.c:1691:devices_destroy_cb: forked pid 5036 for
destroy of domain 12
libxl: debug: libxl_create.c:1520:do_domain_create: ao 0x1a97440:
inprogress: poller=0x1a974a0, flags=i
libxl: debug: libxl_event.c:1765:libxl__ao_complete: ao 0x1a97440:
complete, rc=-3
libxl: debug: libxl_event.c:1737:libxl__ao__destroy: ao 0x1a97440: destroy
xc: debug: hypercall buffer: total allocations:197 total releases:197
xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:182 misses:4 toobig:11
The configuration for the VM is as follows:
# This configures an HVM rather than PV guest
builder = "hvm"
# Guest name
name = "ws-01.hvm"
# 128-bit UUID for the domain as a hexadecimal number.
# Use "uuidgen" to generate one if required.
# The default behavior is to generate a new UUID each time the guest is
started.
#uuid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
# Enable Microsoft Hyper-V compatibile paravirtualisation /
# enlightenment interfaces. Turning this on can improve Windows guest
# performance and is therefore recommended
viridian = 1
# Initial memory allocation (MB)
memory = 4096
# Maximum memory (MB)
# If this is greater than `memory' then the slack will start ballooned
# (this assumes guest kernel support for ballooning)
#maxmem = 512
# Number of VCPUS
vcpus = 2
# Network devices
# A list of 'vifspec' entries as described in
# docs/misc/xl-network-configuration.markdown
vif = [ 'bridge=brloc' ]
# Disk Devices
# A list of `diskspec' entries as described in
# docs/misc/xl-disk-configuration.txt
disk = [ 'phy:/dev/sde1,ioemu:hda,w',
'file:/root/installers/de_windows_7_professional_with_sp1_x64_dvd_u_676919.iso,ioemu:hdc:cdrom,r'
]
boot="dc"
# Guest VGA console configuration, either SDL or VNC
sdl = 0
vnc = 1
Any idea why I cannot create VMs? Is this a Gentoo problem or a problem
with xen? Do I need to install some more packages?