If the OS type is "Windows Server xxxx", the VM will be started with an E1000 nic device and IDE disk.
You need to change to "Windows PV", vm will have virtio NIC and disk. If you want better disk performance, you can try with "Other PV Virtio-SCSI (64-bit)", which might require some changes on your windows templates. -Wei On Mon, 11 Dec 2023 at 11:34, <m...@swen.io> wrote: > Thx, Wei, I used OS Type Windows Server 2022 (64-bit). Is this not working? > > -----Ursprüngliche Nachricht----- > Von: Wei ZHOU <ustcweiz...@gmail.com> > Gesendet: Montag, 11. Dezember 2023 11:29 > An: users@cloudstack.apache.org > Betreff: Re: running Windows VM on Ubuntu 22 KVM > > You can stop the vm, change the OS type to "Windows PV" and then start the > vm. > > -Wei > > On Mon, 11 Dec 2023 at 11:17, <m...@swen.io> wrote: > > > Hi all, > > > > > > > > I am kind of new to use KVM for Windows VMs and run into some problems. > > > > I used an English template for Windows Server 2022 and installed a VM > > successfully via Cloudstack. Everything looks good and the NIC is > > working Intel PRO 1000 emulation. > > > > As far as I understand you need to install the VirtIO driver to get a > > better performance from your VM. I downloaded the ISO from: > > > > https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stabl > > e-virt > > io/virtio-win.iso > > <https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stab > > le-virtio/virtio-win.iso> > > > > And installed them inside the Windows Sever VM successfully. But even > > after a reboot of the VM it looks like it is still using the emulated > > Intel PRO > > 1000 NIC and also QEMU ATA drivers for disk access. > > > > > > > > Did I miss something? Do I need to install anything on the KVM host, too? > > Performance is very poor inside the Wind VM. > > > > > > > > Thx for any help! > > > > > > > > Regards, > > > > Swen > > > > > > >