1 |
Hi, |
2 |
|
3 |
I'm trying to get a windoze 7 to run as a domU on a fresh install of |
4 |
gentoo with xen. I need to use the installer ISO to boot from and to |
5 |
install into a partition on a physical disk. |
6 |
|
7 |
Running 'xl -vvv create /etc/xen/ws-01.hvm' gives me the following messages: |
8 |
|
9 |
|
10 |
Parsing config from /etc/xen/ws-01.hvm |
11 |
libxl: debug: libxl_create.c:1504:do_domain_create: ao 0x1a97440: |
12 |
create: how=(nil) callback=(nil) poller=0x1a974a0 |
13 |
libxl: verbose: libxl_create.c:137:libxl__domain_build_info_setdefault: |
14 |
qemu-xen is unavailable, use qemu-xen-traditional instead: No such file |
15 |
or directory |
16 |
libxl: debug: libxl_device.c:269:libxl__device_disk_set_backend: Disk |
17 |
vdev=hda spec.backend=unknown |
18 |
libxl: debug: libxl_device.c:298:libxl__device_disk_set_backend: Disk |
19 |
vdev=hda, using backend phy |
20 |
libxl: debug: libxl_device.c:269:libxl__device_disk_set_backend: Disk |
21 |
vdev=hdc spec.backend=unknown |
22 |
libxl: debug: libxl_device.c:215:disk_try_backend: Disk vdev=hdc, |
23 |
backend phy unsuitable as phys path not a block device |
24 |
libxl: debug: libxl_device.c:298:libxl__device_disk_set_backend: Disk |
25 |
vdev=hdc, using backend qdisk |
26 |
libxl: debug: libxl_create.c:907:initiate_domain_create: running bootloader |
27 |
libxl: debug: libxl_bootloader.c:323:libxl__bootloader_run: not a PV |
28 |
domain, skipping bootloader |
29 |
libxl: debug: libxl_event.c:629:libxl__ev_xswatch_deregister: watch |
30 |
w=0x1a97d70: deregister unregistered |
31 |
libxl: debug: libxl_numa.c:483:libxl__get_numa_candidate: New best NUMA |
32 |
placement candidate found: nr_nodes=1, nr_cpus=12, nr_vcpus=26, |
33 |
free_memkb=9875 |
34 |
libxl: debug: libxl_numa.c:483:libxl__get_numa_candidate: New best NUMA |
35 |
placement candidate found: nr_nodes=1, nr_cpus=12, nr_vcpus=26, |
36 |
free_memkb=10311 |
37 |
libxl: detail: libxl_dom.c:196:numa_place_domain: NUMA placement |
38 |
candidate with 1 nodes, 12 cpus and 10311 KB free selected |
39 |
libxl: detail: libxl_dom.c:254:hvm_set_viridian_features: base group enabled |
40 |
libxl: detail: libxl_dom.c:254:hvm_set_viridian_features: freq group enabled |
41 |
libxl: detail: libxl_dom.c:254:hvm_set_viridian_features: time_ref_count |
42 |
group enabled |
43 |
xc: error: Could not open kernel image (2 = No such file or directory): |
44 |
Internal error |
45 |
libxl: error: libxl_dom.c:818:libxl__build_hvm: hvm building failed |
46 |
libxl: error: libxl_create.c:1121:domcreate_rebuild_done: cannot |
47 |
(re-)build domain: -3 |
48 |
libxl: error: libxl_dm.c:1595:kill_device_model: unable to find device |
49 |
model pid in /local/domain/12/image/device-model-pid |
50 |
libxl: error: libxl.c:1608:libxl__destroy_domid: |
51 |
libxl__destroy_device_model failed for 12 |
52 |
libxl: info: libxl.c:1691:devices_destroy_cb: forked pid 5036 for |
53 |
destroy of domain 12 |
54 |
libxl: debug: libxl_create.c:1520:do_domain_create: ao 0x1a97440: |
55 |
inprogress: poller=0x1a974a0, flags=i |
56 |
libxl: debug: libxl_event.c:1765:libxl__ao_complete: ao 0x1a97440: |
57 |
complete, rc=-3 |
58 |
libxl: debug: libxl_event.c:1737:libxl__ao__destroy: ao 0x1a97440: destroy |
59 |
xc: debug: hypercall buffer: total allocations:197 total releases:197 |
60 |
xc: debug: hypercall buffer: current allocations:0 maximum allocations:4 |
61 |
xc: debug: hypercall buffer: cache current size:4 |
62 |
xc: debug: hypercall buffer: cache hits:182 misses:4 toobig:11 |
63 |
|
64 |
|
65 |
The configuration for the VM is as follows: |
66 |
|
67 |
|
68 |
# This configures an HVM rather than PV guest |
69 |
builder = "hvm" |
70 |
|
71 |
# Guest name |
72 |
name = "ws-01.hvm" |
73 |
|
74 |
# 128-bit UUID for the domain as a hexadecimal number. |
75 |
# Use "uuidgen" to generate one if required. |
76 |
# The default behavior is to generate a new UUID each time the guest is |
77 |
started. |
78 |
#uuid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" |
79 |
|
80 |
# Enable Microsoft Hyper-V compatibile paravirtualisation / |
81 |
# enlightenment interfaces. Turning this on can improve Windows guest |
82 |
# performance and is therefore recommended |
83 |
viridian = 1 |
84 |
|
85 |
# Initial memory allocation (MB) |
86 |
memory = 4096 |
87 |
|
88 |
# Maximum memory (MB) |
89 |
# If this is greater than `memory' then the slack will start ballooned |
90 |
# (this assumes guest kernel support for ballooning) |
91 |
#maxmem = 512 |
92 |
|
93 |
# Number of VCPUS |
94 |
vcpus = 2 |
95 |
|
96 |
# Network devices |
97 |
# A list of 'vifspec' entries as described in |
98 |
# docs/misc/xl-network-configuration.markdown |
99 |
vif = [ 'bridge=brloc' ] |
100 |
|
101 |
# Disk Devices |
102 |
# A list of `diskspec' entries as described in |
103 |
# docs/misc/xl-disk-configuration.txt |
104 |
disk = [ 'phy:/dev/sde1,ioemu:hda,w', |
105 |
'file:/root/installers/de_windows_7_professional_with_sp1_x64_dvd_u_676919.iso,ioemu:hdc:cdrom,r' |
106 |
] |
107 |
|
108 |
boot="dc" |
109 |
|
110 |
# Guest VGA console configuration, either SDL or VNC |
111 |
sdl = 0 |
112 |
vnc = 1 |
113 |
|
114 |
|
115 |
Any idea why I cannot create VMs? Is this a Gentoo problem or a problem |
116 |
with xen? Do I need to install some more packages? |