[virt-tools-list] Using Spice with virt-install

Christophe Fergeau cfergeau at redhat.com
Tue May 28 06:39:25 UTC 2013


On Tue, May 28, 2013 at 09:53:02AM +0530, Diptanu Gon Choudhury wrote:
> Hi,
> 
> Just began installing virt-tools. Trying to install a windows 2008 server
> with virt-install and spice as the protocol to access the VDI.
> 
> Using the following command -
> 
> sudo virt-install --connect qemu:///system --name WinServ2008 --ram 4096
> --vcpus 2 --disk
> path=~/Boxes/qemu/winserver2008.qcow2,format=qcow2,bus=virtio,cache=none
> --disk path=~/Downloads/virtio-win-0.1-59.iso,device=cdrom --cdrom
> ~/Boxes/iso/Win_2008_R2_64Bit_Standard_w_SP1_MLF_X17-22580.ISO
> --network=bridge:virbr0,model=e1000 *--graphics
>  spice,port=5901,listen=0.0.0.0* --accelerate --soundhw ac97
> --os-type=windows --os-variant=win2k8  --noautoconsole --accelerate
> --noapic --keymap=en-us
> 
> 
> I am getting the error - ERROR    *Cannot mix --graphics and old style
> graphical options*
> 
> I would be glad if anyone cant point me to what I am doing wrong here. I
> couldn't find any spice example in the man pages of virt-install.

Did you try to remove some of the options from the command line to see if
that helps? In particular, I'd try without --accelerate (which appears
twice) and --noautoconsole. This could also be a virt-install bug (?)

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130528/c8c42151/attachment.sig>


More information about the virt-tools-list mailing list