Hide Forgot
Description of problem: Guests shouldn't boot up successfully when wrong parameters are set Version-Release number of selected component (if applicable): Kernel&KVM 2.6.18-259.el5 kvm-83-232.el5 How reproducible: According to KVM' help we can know - -m megs set virtual RAM size to megs MB [default=128] -smp n[,cores=cores][,threads=threads][,sockets=sockets] Steps to Reproduce: 1.boot up guest with the following command - /usr/libexec/qemu-kvm -rtc-td-hack -usbdevice tablet -no-hpet -drive file=/home/5u7.raw,if=virtio,boot=on,werror=stop,cache=none,format=raw,media=disk -cpu qemu64,+sse4.2 -smp 4 -m 4G,sockets=2,cores=1,threads=2 -net nic,macaddr=00:12:24:57:a8:2e,model=virtio,vlan=0 -net tap,script=/etc/qemu-ifup,vlan=0 -uuid `uuidgen` -boot c -balloon none -notify all -spice port=8001,disable-ticketing -monitor stdio -qxl 1 Actual results: Socket&Cores&threads parameters should follow '-smp 4' not '-m 4G',but the guest still can boot up without any warnings. Expected results: Warning is needed here. Additional info:
We don't support directly launching of qemu. libvirt should always drive it. So wrong passing of parameters is not a concern.