|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Can't create guest image
[root@province ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 128 2 r----- 271.1
[root@province ~]# xm info
host : province.winteract.com
release : 2.6.16-xen
version : #1 SMP Wed Sep 27 11:30:50 EDT 2006
machine : i686
nr_cpus : 2
nr_nodes : 1
sockets_per_node : 2
cores_per_socket : 1
threads_per_core : 1
cpu_mhz : 1533
hw_caps : 0383fbff:c1cbfbff:00000000:00000020
total_memory : 1024
free_memory : 874
xen_major : 3
xen_minor : 0
xen_extra : .2-2
xen_caps : xen-3.0-x86_32
platform_params : virt_start=0xfc000000
xen_changeset : Thu Apr 13 15:18:37 2006 +0100 9617:5802713c159b
cc_compiler : gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
cc_compile_by : root
cc_compile_domain : winteract.com
cc_compile_date : Wed Sep 27 10:43:13 EDT 2006
I built xen in /home/xen/bin and I have a small partition for xen guests on
/dev/hdc3 2.0G 35M 1.8G 2% /xen
Here is my config file for creating the new guest domain:
----------------------------- snip --------------------------------------
def vmid_check(var, val):
val = int(val)
if val <= 0:
raise ValueError
return val
xm_vars.var('vmid',
use="Virtual machine id. Integer greater than 0.",
check=vmid_check)
xm_vars.check()
kernel = "/boot/xen-3.0.gz"
memory = 128
name = "VM%d" % vmid
vcpus = 2 # make your domain a 4-way
vif = [ '' ]
disk = [ 'phy:hdc3,hdc3,w' ]
dhcp="dhcp"
hostname= "vm%d" % vmid
root = "/dev/hdc ro"
extra = "4 VMID=%d usr=/dev/hdc1" % vmid
----------------------------- snip --------------------------------------
When I try to create the guest domain, I get this:
Using config file "0Sguest".
Error: (22, 'Invalid argument')
Is there any way to get a more verbose error output?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] Can't create guest image,
Matt Herzog <=
|
|
|
|
|