[Qemu-discuss] failed to connect to ssh-agent when attach a ssh json backing image

2016-08-17 Thread Han Han
Hi all, I tried to attach a ssh json backing image but failed: # qemu-img create -f qcow2 -b 'json:{"file.driver":"ssh", "file.host":"10.66.4.129", "file.path":"/tmp/ssh", "file.user":"root", "file.port":22, "file.host_key_check":"no"}' /var/lib/libvirt/images/ssh.img Formatting '/var/lib/libvirt

Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache

2016-08-17 Thread Narcis Garcia
Sure. El 17/08/16 a les 23:09, Andrew Martin ha escrit: > - Original Message - >> From: "Narcis Garcia" >> To: qemu-discuss@nongnu.org >> Sent: Wednesday, August 17, 2016 1:16:19 PM >> Subject: Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk >> Write Cache >> >> In t

Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache

2016-08-17 Thread Andrew Martin
- Original Message - > From: "Narcis Garcia" > To: qemu-discuss@nongnu.org > Sent: Wednesday, August 17, 2016 1:16:19 PM > Subject: Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk > Write Cache > > In the host: > $ sysctl -n vm.dirty_expire_centisecs > $ sysctl -n vm.

Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache

2016-08-17 Thread Narcis Garcia
In the host: $ sysctl -n vm.dirty_expire_centisecs $ sysctl -n vm.dirty_writeback_centisecs https://www.kernel.org/doc/Documentation/sysctl/vm.txt El 17/08/16 a les 20:03, Andrew Martin ha escrit: > - Original Message - >> From: "Jakob Bohm" >> To: "Andrew Martin" >> Cc: qemu-discuss@

Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache

2016-08-17 Thread Andrew Martin
- Original Message - > From: "Jakob Bohm" > To: "Andrew Martin" > Cc: qemu-discuss@nongnu.org > Sent: Wednesday, August 17, 2016 10:32:39 AM > Subject: Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk > Write Cache > > On 17/08/2016 16:56, Andrew Martin wrote: > > > >

Re: [Qemu-discuss] openstack with kvm CPU usage issue

2016-08-17 Thread Nerijus Baliūnas
2016-08-17 19:46, Laurentiu Soica rašė: The baremetal and compute are both running CentOS 7 and on the baremetal I've enabled nested KVM feature. Kernel is 3.10.0-327.22.2.el7.x86_64 qemu-kvm is 1.5.3-105.el7_2.7 It is quite old. I would use a newer one, for example, qemu-kvm-ev from https://l

[Qemu-discuss] openstack with kvm CPU usage issue

2016-08-17 Thread Laurentiu Soica
Hello, I have an openstack setup with KVM as hipervisor in virtual environment. So: - a baremetal with 2 physical CPUs: 128 GB RAM - the compute node, that is a VM under KVM on the baremetal, with 100 GB RAM and 36 vCPUs - 15 VMs running inside the compute node, under KVM aswell. The baremetal a

Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache

2016-08-17 Thread Jakob Bohm
On 17/08/2016 16:56, Andrew Martin wrote: - Original Message - From: "Jakob Bohm" To: qemu-discuss@nongnu.org Sent: Wednesday, August 17, 2016 9:34:32 AM Subject: Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache On 17/08/2016 15:21, Andrew Martin wrote

Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache

2016-08-17 Thread Andrew Martin
- Original Message - > From: "Jakob Bohm" > To: qemu-discuss@nongnu.org > Sent: Wednesday, August 17, 2016 9:34:32 AM > Subject: Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk > Write Cache > > On 17/08/2016 15:21, Andrew Martin wrote: > >> From: "Fam Zheng" > >>

Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache

2016-08-17 Thread Jakob Bohm
On 17/08/2016 15:21, Andrew Martin wrote: From: "Fam Zheng" To: "Andrew Martin" Cc: qemu-discuss@nongnu.org Sent: Wednesday, August 17, 2016 2:50:36 AM Subject: Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache On Tue, 08/16 12:39, Andrew Martin wrote: Hello, I

Re: [Qemu-discuss] [problem] QEMU-GA & Windows 10

2016-08-17 Thread Frank Sfalanga Jr .
Dominique, thank you for your assistance. Sadly, this is still not working. Maybe there's a better version of the QEMU-GA available for QEMU Windows guests on Ubuntu 14.04LTS? I've verified that the service is set to start and is not disabled in msconfig. It won't start on startup or even if I

Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache

2016-08-17 Thread Dominique Ramaekers
Hi there, This is a very interesting discussion in which I was reminded on the different cache modes. I have a supplementary question dough. Sometimes if I change the cache mode of a guest system disk, the guest won't work properly (it hangs, crashes,...). Never yet with a nix system but It h

Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache

2016-08-17 Thread Andrew Martin
- Original Message - > From: "Fam Zheng" > To: "Andrew Martin" > Cc: qemu-discuss@nongnu.org > Sent: Wednesday, August 17, 2016 2:50:36 AM > Subject: Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk > Write Cache > > On Tue, 08/16 12:39, Andrew Martin wrote: > > Hel

Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache

2016-08-17 Thread Fam Zheng
On Wed, 08/17 17:26, wyang wrote: > On 2016年08月17日 15:50, Fam Zheng wrote: > > > >I am confused about the difference between the guest disk write cache and the > >host page cache. Aren't these effectively the same (in both cases storing the > >dirty data in the host's RAM)? Is there a difference be

Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache

2016-08-17 Thread wyang
On 2016年08月17日 15:50, Fam Zheng wrote: I am confused about the difference between the guest disk write cache and the host page cache. Aren't these effectively the same (in both cases storing the dirty data in the host's RAM)? Is there a difference between how one gets Yes they are the same thing

Re: [Qemu-discuss] [Qemu-devel] Libvirt add ftrace option

2016-08-17 Thread Daniel P. Berrange
On Wed, Aug 17, 2016 at 09:43:10AM +0530, Gadre Nayan wrote: > Ok. so I will then shift to using system tap, Are the timestamps > generated for events compatible with the ftrace timestamps? so that I > can still merge the traces using TSC_OFFSET. I'm not sure what timestamps exactl you're using wi

Re: [Qemu-discuss] Understanding QEMU Cache Modes and Emulated Disk Write Cache

2016-08-17 Thread Fam Zheng
On Tue, 08/16 12:39, Andrew Martin wrote: > Hello, > > I am running QEMU 2.5 on Ubuntu 16.04. My guests are a mixture of Linux > (Ubuntu > 12.04 and newer with ext4) and Windows. The guest qcow2 images are stored in > a > ZFS filesystem with sync=standard (on top of a mirrored vdev of SSDs) on