Hi Nux, thx, virtio-win-gt-x64.msi was the missing link. Now VM-snapshot do work! What is not working at the moment is dynamically scaling cpu of a running VM. Is this even possible with Windows?
Regards, Swen -----Ursprüngliche Nachricht----- Von: Nux <n...@li.nux.ro> Gesendet: Montag, 11. Dezember 2023 12:41 An: users@cloudstack.apache.org Cc: m...@swen.io Betreff: Re: AW: running Windows VM on Ubuntu 22 KVM You can VM snapshot Windows, no issues, doesn't need any special tools. That said, I usually bundle virtio drivers and QEMU guest agent in Windows VMs. Basically install something like this: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.240-1/virtio-win-gt-x64.msi On 2023-12-11 11:26, m...@swen.io wrote: > Is it possible to create VM-snapshots of Windows VMs? Do I need to > install other guest tools? > > -----Ursprüngliche Nachricht----- > Von: Wei ZHOU <ustcweiz...@gmail.com> > Gesendet: Montag, 11. Dezember 2023 11:43 > An: users@cloudstack.apache.org > Betreff: Re: running Windows VM on Ubuntu 22 KVM > > 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/st >> > a >> > bl >> > e-virt >> > io/virtio-win.iso >> > <https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/s >> > t >> > ab >> > 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 >> > >> > >> >> >>