Re: [Qemu-discuss] Allow certain CPU cores for VMs

2017-10-24 Thread Aleksei
libvirt has CPU pinning feature: https://libvirt.org/formatdomain.html#elementsCPUAllocation AFAIK this functionality is not available in QEMU itself, but can be accomplished by scripting utilities like taskset. You might also want to instruct the kernel not to do any work on the cores you

[Qemu-discuss] Allow certain CPU cores for VMs

2017-10-24 Thread Martin Snowman
Hi, is it possible to configure in qemu or libvirt to exclude certain cores from VM deployment ? Let's say we have 24 cores on hypervisor and I want to allocate first four cores to openvswitch and use next 20 cores for QEMU VMs. Is this configuration possible ? Whats the best approach. Example

Re: [Qemu-discuss] from git source build instructions still correct?

2017-10-24 Thread Dennis Luehring
Am 23.10.2017 um 11:11 schrieb Peter Maydell: The instructions are right, but it looks like unfortunately our git server at git.qemu.org is having a problem currently. Hopefully we'll get that fixed soon... fixed - thanks

Re: [Qemu-discuss] [Qemu-block] Question regarding qemuimg check

2017-10-24 Thread Ala Hino
Thanks for the detailed reply, Stefan. Can we always run qemu-img check with -r leaks option, even if there are no leaks? On Tue, Oct 24, 2017 at 3:06 PM, Stefan Hajnoczi wrote: > On Mon, Oct 23, 2017 at 03:38:40PM +0300, Ala Hino wrote: > > I have a question regarding

Re: [Qemu-discuss] [Qemu-block] Question regarding qemuimg check

2017-10-24 Thread Stefan Hajnoczi
On Mon, Oct 23, 2017 at 03:38:40PM +0300, Ala Hino wrote: > I have a question regarding qemuimg check. We use qemuimg check in order to > get the offset of image. we need the offset to reduce the size of the image > to optimal. > > In BZ 1502488 , we are

[Qemu-discuss] Is locking option available now?

2017-10-24 Thread Han Han
I create backing file with 'locking=off', but it seems the locking is enabled: On *qemu-2.10* # qemu-img create -b 'json:{"file": {"driver": "file", "filename": "/var/lib/libvirt/images/V.qcow2", "*locking*": "*off*"}}' /var/lib/libvirt/images/a.qcow2 -f qcow2 Formatting