<div dir="ltr">Hi,<div><br></div><div>Just began installing virt-tools. Trying to install a windows 2008 server with virt-install and spice as the protocol to access the VDI.</div><div><br></div><div>Using the following command - </div>

<div><br></div><div><div>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 <b>--graphics  spice,port=5901,listen=0.0.0.0</b> --accelerate --soundhw ac97 --os-type=windows --os-variant=win2k8  --noautoconsole --accelerate --noapic --keymap=en-us</div>

<div><br></div><div><br></div><div>I am getting the error - ERROR    <b>Cannot mix --graphics and old style graphical options</b></div><div><br></div><div>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. </div>

<div><br></div><div><br></div>-- <br>Thanks,<br>Diptanu Choudhury<br><br>
</div></div>