-cpu option on KVM

zzhjkrqlne

Renowned Member
Oct 16, 2008
38
0
71
Hi,

Is there an easy way of adding -cpu option when starting a KVM VM? I can manually start KVM VM from the command line and append -cpu option at the end, but was wondering if this can be done via Proxmox web interface instead.

Thanks.
 
Is there an easy way of adding -cpu option when starting a KVM VM? I can manually start KVM VM from the command line and append -cpu option at the end, but was wondering if this can be done via Proxmox web interface instead.

No, not from the web interface (you can use the 'args' option of qm to pass arbitrary parameters, see 'man qm')

Why do you want to set the cpu type?
 
No, not from the web interface (you can use the 'args' option of qm to pass arbitrary parameters, see 'man qm')

Why do you want to set the cpu type?

Thanks.

I have Windows XP on it, and Skype keeps crashing. If I set it to use "-cpu core2duo" then it runs stably.

I just want to avoid the possibility of someone else who has access to the web interface to come in and restart the KVM VM and make it run without this parameter.

I guess I'll just have to be careful for now unless it is easy enough to be added onto the web interface.
 
Hi,
like Dietmar wrote above, you need only edit once your conf-file ( /etc/qemu-server/VMID.conf ) and add a line
Code:
args: -cpu core2duo
After that, you (or other) can reboot the VM from the Webfrontent without trouble.

Udo
 
Hi,
like Dietmar wrote above, you need only edit once your conf-file ( /etc/qemu-server/VMID.conf ) and add a line
Code:
args: -cpu core2duo
After that, you (or other) can reboot the VM from the Webfrontent without trouble.

Udo

Thanks for that. Didn't realise that it was that simple.