[Qemu-discuss] performances of qemu 2.10.0

2017-09-27 Thread Pierre Couderc
I have compiled and built from git qemu tag 2.10.0 (./configure 
--target-list=x86_64-softmmu --enable-debug) and I find it much more 
slow than the debian package that I used before. kvm is enabled.
The mouse does not react, tests done with host debian wheezy on various 
Windows image, or stretch image.



What do I miss ?

PC



Re: [Qemu-discuss] performances of qemu 2.10.0

2017-09-27 Thread Dennis Luehring
that all software debug builds are by default extremely slow, try a 
release build


Am 27.09.2017 um 22:49 schrieb Pierre Couderc:

I have compiled and built from git qemu tag 2.10.0 (./configure
--target-list=x86_64-softmmu --enable-debug) and I find it much more
slow than the debian package that I used before. kvm is enabled.
The mouse does not react, tests done with host debian wheezy on various
Windows image, or stretch image.


What do I miss ?

PC






[Qemu-discuss] Permission denied when using block-dirty-bitmap on dynamically-mounted backup drive.

2017-09-27 Thread Mike Lee
I am using Qemu's block-dirty-bitmap features to perform full/incremental
backups of my qcow2 images.  Things are working great but when I go to
perform the initial full backup command to create the bitmap I get
"libvirt-49 Could not create file: Permission denied".  I'm issuing these
json-based commands to the qemu monitor via the virsh qemu-monitor-command
command.  Yes, the dest. dir is owned by libvirt-qemu.kvm user/group.

The only time I get this permission error is when I'm trying to write
backup qcow2 files to a dynamically-mounted external drive (USB, etc.).  If
I create a manual mount point for it and provide an entry in my fstab file,
things work great.

Any idea how I can do backups to destination disks that are auto-mounted
(mounted automatically when I plug-in the external USB disk?

The command I'm running is:

virsh qemu-monitor-command ubuntu16.04 --pretty \
'{"execute":
"transaction",' \
'"arguments":' \
'{' \
'"actions":' \
'[' \
'{"type": "block-dirty-bitmap-add",' \
' "data": {"node": "drive-virtio-disk1", "name": "bitmap0"}' \
'},' \
'{"type": "drive-backup",' \
' "data": {"device": "drive-virtio-disk1",' \
'  "target":
"/media/mike/Seagate2TB/backups/qemu/ubuntu16.04/2014-09-24/ubuntu16.04_full_backup_2017-09-24.qcow2",'
\
'  "sync": "full", "format": "qcow2"' \
' }' \
'}' \
']' \
'}' \
'}'

Thanks.


Mike


Re: [Qemu-discuss] performances of qemu 2.10.0

2017-09-27 Thread nous

Thank you, I try that.
As i ma new to building qemu, I had strictly followed the wiki...

On 28/09/2017 05:03, Dennis Luehring wrote:
that all software debug builds are by default extremely slow, try a 
release build


Am 27.09.2017 um 22:49 schrieb Pierre Couderc:

I have compiled and built from git qemu tag 2.10.0 (./configure
--target-list=x86_64-softmmu --enable-debug) and I find it much more
slow than the debian package that I used before. kvm is enabled.
The mouse does not react, tests done with host debian wheezy on various
Windows image, or stretch image.


What do I miss ?

PC