[xen-discuss] Using virt-manager to install guest domains?
Darren Reed
Darren.Reed at Sun.COM
Tue Jul 7 12:01:09 PDT 2009
On 07/07/09 06:10, Mark Johnson wrote:
>
>
> Darren Reed wrote:
>> I've got a copy of Solaris Express on DVD, installed it and tried to
>> create a Xen guest domain using virt-manager.
>>
>> I ran into the following road block:
>>
>> - attaching storage space did not allow me to add a Normal Disk
>> Partition. /dev/dsk/c0t2d0p0, /dev/rdsk/c0t2d0s0, etc, all got
>> rejected with an error (see below). What did work was saying
>> /dev/rdsk/c0t2d0p0 was the File Location of the virtual disk, but
>> that fails later...
>>
>> The errors coming out of virt-manager were:
>> Traceback(most recent call last):
>> File "/usr/share/virt-manager/virtManager/create.py" line 327, in
>> forward
>> if(self.validate(notebook.get_current_page() != True):
>> File "/usr/share/virt-manager/virtManager/create.py" line 855, in
>> validate
>> d = virtinst.VirtualDisk(self.get_config_disk_image(),
>> self.get_config_disk_size() / 1024.0, spare = self.is_sparse_file())
>> TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
>
> virt-manager doesn't work very well in the current bits. The jds folks
> should be pushing a newer version relatively soon.
>
> What are you trying to install? I can give you the virt-install line
> for that....
What I've come up with so far is:
virt-install --paravirt --name dom1 --ram 6144 --nographics \
--os-type=solaris \
--network bridge=e1000g0,capped-bandwidth=200M \
--disk path=/dev/dsk/c0t1d0s4,driver=phy
--location /isos/osol-200906.iso
... what I'm not happy about:
location - I want to use a DVD disc in my DVD drive, not an ISO image
disk path - how do I tell it to use an entire disk (or fdisk partition),
not just a slice?
cpu - I want to set the limit to 2 CPUs.
Darren
More information about the xen-discuss
mailing list