Qemu

online24

Member
Dec 26, 2009
72
0
6
New York, USA
Hello,

there is any possibility to rename QEMU Virtual CPU to Original CPU name like: Intel Xeon UP QC X3430, or limit for example not only CPU's bet set MHZ rate: 4x400MHz or 400MHz only?
 
Try adding this line in config:

Code:
args: -cpu host

each KVM guest has a config file, see /etc/qemu-server/VMID.conf.

replace VMID with the ID of your KVM guest. edit/add your changes and start the KVM guest again (a reboot never activates changes).
 
Hey,

very nice community.

Now i am getting this error:

alpha:~# qm start 140
Unable to find x86 CPU definition
start failed: command '/usr/bin/kvm -monitor unix:/var/run/qemu-server/140.mon,server,nowait -vnc unix:/var/run/qemu-server/140.vnc,password -pidfile /var/run/qemu-server/140.pid -daemonize -usbdevice tablet -name lol.iso.lt -smp 8 -id 140 -cpuunits 1000 -vga cirrus -tdf -k en-us -drive file=/var/lib/vz/images/140/vm-140-disk.qcow2,if=ide,index=0,boot=on -drive file=/var/lib/vz/template/iso/debian-503-i386-netinst.iso,if=ide,index=2,media=cdrom -m 512 -net tap,vlan=0,ifname=vmtab140i0,script=/var/lib/qemu-server/bridge-vlan0 -net nic,vlan=0,model=rtl8139,macaddr=12:61:65:33:FB:C5 -cpu host' failed with exit code 1 at /usr/share/perl5/PVE/QemuServer.pm line 314.
alpha:~#

alpha:~# pveversion -v
pve-manager: 1.3-1 (pve-manager/1.3/4023)
qemu-server: 1.0-14
pve-kernel: 2.6.24-8
pve-kvm: 86-1
pve-firmware: 1
vncterm: 0.9-2
vzctl: 3.0.23-1pve3
vzdump: 1.1-2
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
alpha:~#
 
Last edited:
let's try to be self-help (I'm not on proxmox at the moment, but in debian sid with a recent qemu-kvm installation)
a) /usr/bin/kvm -h from command line gives you available parameters, -cpu is one of them
b) /usr/bin/kvm -cpu ? gives you the list of supported values (as clearly stated in the above help output):
thor:/var# kvm -cpu ?
x86 qemu64
x86 phenom
x86 core2duo
x86 qemu32
x86 coreduo
x86 486
x86 pentium
x86 pentium2
x86 pentium3
x86 athlon
x86 n270

Which one did you specified?
What does "bump" mean in your last post?
 
Hey, all is fine. I had found this info in Qemu-kvm bug page, but thank you. My bump means "jump" to do the thread more visible then others at the moment.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!