Re: [Qemu-discuss] [Qemu-devel] For unix domain socket, will only one client could connect to this socket?

2017-07-27 Thread Daniel P. Berrange
On Thu, Jul 27, 2017 at 07:58:06PM +0800, Sam wrote: > Thank you, I think another process connect this socket, so I hanged here. Yes, if another process has it open, you would see a hang if you tried to connect to it, because the kernel will have queued the incoming connection, but QEMU will not c

Re: [Qemu-discuss] [Qemu-devel] For unix domain socket, will only one client could connect to this socket?

2017-07-27 Thread Daniel P. Berrange
On Thu, Jul 27, 2017 at 06:37:32PM +0800, Sam wrote: > Hi all, > > I'm working on qemu-qga, and I want to send qmp command from this unix > socket, but it hanged there(no response), I don't know if it's connect > failed or something? > > [root@yf-mos-test-net09 ~]# socat > > /opt/cloud/workspace/

Re: [Qemu-discuss] [Qemu-devel] Fwd: [DPDK-memory] how qemu waste such long time under dpdk huge page envriment?

2017-06-19 Thread Daniel P. Berrange
On Mon, Jun 19, 2017 at 05:30:59PM +0800, Sam wrote: > Hi all, > > I'm running `QEMU_CMD ...` to create a vm under dpdk huge page envriment > (which set huge page 1G). And I enable all events in qemu. Please provide the full QEMU command line you are using. > For qemu and ovs-dpdk(ovs-2.4.9 with

Re: [Qemu-discuss] [Qemu-devel] Estimation of qcow2 image size converted from raw image

2017-02-15 Thread Daniel P. Berrange
On Wed, Feb 15, 2017 at 05:05:04PM +0100, Alberto Garcia wrote: > On Wed 15 Feb 2017 04:57:12 PM CET, Nir Soffer wrote: > >>> Let's try this syntax: > >>> > >>> $ qemu-img query-max-size -f raw -O qcow2 input.raw > >>> 1234678000 > >>> > >>> As John explained, it is only an estimate. But it wi

Re: [Qemu-discuss] [Qemu-devel] Estimation of qcow2 image size converted from raw image

2017-02-15 Thread Daniel P. Berrange
On Wed, Feb 15, 2017 at 05:57:12PM +0200, Nir Soffer wrote: > On Wed, Feb 15, 2017 at 5:20 PM, Daniel P. Berrange > wrote: > > On Wed, Feb 15, 2017 at 03:14:19PM +, Stefan Hajnoczi wrote: > >> On Mon, Feb 13, 2017 at 05:46:19PM +0200, Maor Lipchuk wrote: > >>

Re: [Qemu-discuss] [Qemu-devel] Estimation of qcow2 image size converted from raw image

2017-02-15 Thread Daniel P. Berrange
On Wed, Feb 15, 2017 at 03:14:19PM +, Stefan Hajnoczi wrote: > On Mon, Feb 13, 2017 at 05:46:19PM +0200, Maor Lipchuk wrote: > > I was wondering if that is possible to provide a new API that > > estimates the size of > > qcow2 image converted from a raw image. We could use this new API to > > a

Re: [Qemu-discuss] [Qemu-devel] Estimation of qcow2 image size converted from raw image

2017-02-13 Thread Daniel P. Berrange
On Mon, Feb 13, 2017 at 12:03:35PM -0500, John Snow wrote: > Also keep in mind that changing the cluster size will give you different > answers, too -- but that different cluster sizes will effect the runtime > performance of the image as well. This means that apps trying to figure out this future

Re: [Qemu-discuss] [Qemu-devel] pci-assign fails with read error on config-space file

2016-11-02 Thread Daniel P. Berrange
On Fri, Oct 28, 2016 at 01:28:19PM +0200, Henning Schild wrote: > Hey, > > i am running an unusual setup where i assign pci devices behind the > back of libvirt. I have two options to do that: > 1. a wrapper script for qemu that takes care of suid-root and appends > arguments for pci-assign > 2. v

Re: [Qemu-discuss] [Qemu-devel] Throttle in virtio-net

2016-09-06 Thread Daniel P. Berrange
On Mon, Sep 05, 2016 at 10:52:40AM +0200, Pradeep Kiruvale wrote: > Hi Alberto, > > Thanks for your reply. > > > > > > I am planning to implement throttling functionality for virtio-net > > > driver using the throttling APIs that exist inside qemu. > > > > Hi Pradeep, > > > > the problem with imp

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] [Qemu-devel] Libvirt add ftrace option

2016-08-16 Thread Daniel P. Berrange
On Tue, Aug 16, 2016 at 07:54:50PM +0530, Gadre Nayan wrote: > Hi, > > I have setup the merging of traces from Guest QEMU and Host using the > TSC_OFFSET. So I would like to work with ftrace backend of QEMU. So > how can I add this option in libvirt tools to enable ftrace backends > with my custom

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

2016-08-16 Thread Daniel P. Berrange
On Tue, Aug 16, 2016 at 07:33:30PM +0530, Gadre Nayan wrote: > Hi, > > I am able to get traces from Guest kernel + QEMU + Host kernel using the > qemu -trace evetns=/tmp/events option > > My complete command line is: > /home/gnayan/QEMU-devel/qemu-ubuntu/qemu/x86_64-softmmu/qemu-system-x86_64 > -

Re: [Qemu-discuss] passphase is not correct when cryptsetup open a luks image created by qemu-img

2016-08-16 Thread Daniel P. Berrange
On Tue, Aug 16, 2016 at 05:48:37AM -0400, Han Han wrote: > Hi all, > I created a luks image via qemu-img and tried to open it via cryptsetup but > failed. > I did following steps: > # qemu-img create -f luks --object > secret,id=sec0,data=c3RhdGUxMjMK,format=base64 -o key-secret=sec0 /tmp/qemu >

Re: [Qemu-discuss] [Qemu-devel] compile qemu.git failed on RHEL6

2015-09-09 Thread Daniel P. Berrange
On Wed, Sep 09, 2015 at 06:59:11AM +, Zheng, Di wrote: > Hi all: > > > Compile qemu.git failed on RHEL6 while succeed on RHEL7. > > Reproduce steps: > ./configure --target-list=x86_64-softmmu > make > > Failed log: > ... > GEN x86_64-softmmu/config-devices.mak > GEN config-all-devices