]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: process: Enforce 'vcpu' order range to <1,maxvcpus>
authorPeter Krempa <pkrempa@redhat.com>
Fri, 16 Sep 2016 13:51:14 +0000 (15:51 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 30 Sep 2016 06:25:20 +0000 (08:25 +0200)
commit6ff3e650124b167b04cc4fd20ab0e8e3cf859db1
treeac4ccf8aae3861f45c1dbd30fcd51513ed32bb2d
parent8924f1b25646e939997dc42589604cc2230b4646
qemu: process: Enforce 'vcpu' order range to <1,maxvcpus>

The current code that validates duplicate vcpu order would not work
properly if the order would exceed def->maxvcpus. Limit the order to the
interval described.
src/qemu/qemu_process.c