Re: [Qemu-discuss] [Qemu-devel] qemu-kvm-1.0.1 cdrom device with iso hotplug issue

2014-04-15 Thread Kevin Wolf
Am 15.04.2014 um 05:18 hat xuanmao_001 geschrieben: > Hi, there: > > I found an issue that cdrom device hotplug iso image. > 1. if I startup qemu with an iso image, then iso can easily be replaced and it > worked. > 2. but if I startup qemu with null image, when I change iso image use qemu > moni

Re: [Qemu-discuss] What does "COW" mean?

2014-09-03 Thread Kevin Wolf
Am 03.09.2014 um 04:06 hat shhuiw geschrieben: > > > At 2014-09-02 04:33:50, "shhuiw" wrote: > > > > > >Hi, > > > >I'm new to qemu community, and I'm trying the COW image format (old but > >simple:-). > >I have read through its source code, and didn't find anything about 'copy on > >write'. >

Re: [Qemu-discuss] [Qemu-devel] write operations during read

2015-07-16 Thread Kevin Wolf
Hi Gleb, Am 15.07.2015 um 13:04 hat Gleb Stepanov geschrieben: >We are testing disk I/O perfomance using fio tool. I've measured > performance on qcow2 image mounted to nb0 device. I run tests and > launch iostat -x 1 command to browse I/O operations. Test consists of > sequential read operati

Re: [Qemu-discuss] [Qemu-devel] Quick question on NVME on qemu

2015-10-12 Thread Kevin Wolf
Am 12.10.2015 um 10:05 hat Igor Mammedov geschrieben: > On Sat, 10 Oct 2015 00:39:43 -0700 > sahlot arvind wrote: > > > Hello, > > > > Does qemu emulate a proper NVMe controller? Can someone please tell me how > s far as I'm aware, QEMU doesn't emulate any NVMe controller yet. It does, though

Re: [Qemu-discuss] Does qemu-img support creating tftp json backing file?

2016-08-31 Thread Kevin Wolf
Am 30.08.2016 um 08:58 hat Han Han geschrieben: > Hi, all > I try to create a json backing file via tftp protocol but failed. > # curl tftp://10.66.6.236/tftp -o tftp > % Total% Received % Xferd Average Speed TimeTime Time > Current > Dload Uploa

Re: [Qemu-discuss] Converting qcow2 image to raw thin lv

2017-02-13 Thread Kevin Wolf
Am 12.02.2017 um 01:58 hat Nir Soffer geschrieben: > On Sat, Feb 11, 2017 at 12:23 AM, Nir Soffer wrote: > > Hi all, > > > > I'm trying to convert images (mostly qcow2) to raw format on thin lv, > > hoping to write only the allocated blocks on the thin lv, but > > it seems that qemu-img cannot wri

Re: [Qemu-discuss] [Qemu-devel] Supporting unsafe create when backing file is not accessible

2017-07-17 Thread Kevin Wolf
Am 14.07.2017 um 21:13 hat Nir Soffer geschrieben: > On Wed, Jul 12, 2017 at 5:40 PM Eric Blake wrote: > > > On 07/12/2017 03:56 AM, Ala Hino wrote: > > > Hi, > > > > > > We encountered a performance issue when creating a volume for a running > > VM > > > and we'd like to share the info with you.

Re: [Qemu-discuss] [Qemu-devel] Supporting unsafe create when backing file is not accessible

2017-07-17 Thread Kevin Wolf
Am 17.07.2017 um 13:36 hat Eric Blake geschrieben: > On 07/14/2017 02:13 PM, Nir Soffer wrote: > > Eric, we are more concerned about using the current qemu version. > > > > We can use the fact that providing both size and backing format, > > qemu does not open the backing file, but this is not doc

Re: [Qemu-discuss] [Qemu-devel] Supporting unsafe create when backing file is not accessible

2017-07-17 Thread Kevin Wolf
Am 17.07.2017 um 14:25 hat Eric Blake geschrieben: > On 07/17/2017 07:19 AM, Kevin Wolf wrote: > > > While I think adding -u today is reasonably realistic, I'm doubtful that > > we can get an introspection mechanism in place today. Perhaps we can > > declare it a bug

Re: [Qemu-discuss] Failed to get "consistent read" lock on a mirroring image

2017-11-20 Thread Kevin Wolf
[ Cc: qemu-block ] Am 20.11.2017 um 09:47 hat Fam Zheng geschrieben: > On Mon, 11/20 10:58, Han Han wrote: > > Hello, > > On qemu-2.10, I find 'qemu-img info' couldn't get the info of a mirroring > > image: > > # /usr/libexec/qemu-kvm -name A -machine pc,accel=kvm \ > > -vnc 0.0.0.0:1 \ > > -monit

Re: [Qemu-discuss] [Qemu-block] Failed to get "consistent read" lock on a mirroring image

2017-11-20 Thread Kevin Wolf
Am 20.11.2017 um 13:39 hat Eric Blake geschrieben: > On 11/20/2017 04:37 AM, Kevin Wolf wrote: > > [ Cc: qemu-block ] > > > > Am 20.11.2017 um 09:47 hat Fam Zheng geschrieben: > >> On Mon, 11/20 10:58, Han Han wrote: > >>> Hello, > >>> On qemu

Re: [Qemu-discuss] Converting qcow2 image on the fly to raw format

2018-07-09 Thread Kevin Wolf
Am 09.07.2018 um 18:38 hat Nir Soffer geschrieben: > We are discussing importing VM images to KubVirt. The goal is to be > able to import an existing qcow2 disk, probably some appliance stored > on http server, and and convert it to raw format for writing to storage. > > This can be also useful fo

Re: [Qemu-discuss] Converting qcow2 image on the fly to raw format

2018-07-09 Thread Kevin Wolf
Am 09.07.2018 um 18:52 hat Richard W.M. Jones geschrieben: > On Mon, Jul 09, 2018 at 07:38:05PM +0300, Nir Soffer wrote: > > We are discussing importing VM images to KubVirt. The goal is to be > > able to import an existing qcow2 disk, probably some appliance stored > > on http server, and and conv

Re: [Qemu-discuss] question about qemu disk cache mode

2013-09-04 Thread Kevin Wolf
Am 04.09.2013 um 05:47 hat xuanmao_001 geschrieben: > Dear qemuers: > > my qemu-kvm version is 1.0.1 > I would like to figure out the qemu disk cache mode. I have visited the > qemu-options.hx > there is two cache that I didn't understand: the host cache page and the qemu > disk write cache. >

Re: [Qemu-discuss] question about qemu disk cache mode

2013-09-04 Thread Kevin Wolf
kernel page cache or the host disk write cache. Only if the whole stack uses writethrough caching, the guest won't see a volatile write cache. Kevin > > ━━━ > xuanmao_001 > > From: Kevin Wolf > Da

Re: [Qemu-discuss] savevm too slow

2013-09-06 Thread Kevin Wolf
Am 06.09.2013 um 03:31 hat xuanmao_001 geschrieben: > Hi, qemuers: > > I found that the guest disk file cache mode will affect to the time of savevm. > > the cache 'writeback' too slow. but the cache 'unsafe' is as fast as it can, > less than 10 seconds. > > here is the example I use virsh: >

Re: [Qemu-discuss] savevm too slow

2013-09-09 Thread Kevin Wolf
t would probably > > improve things a bit. > > with cache=writeback. Is there any risk for setting cache=writeback with > IO_BUF_SIZE 1M ? No. Using a larger buffer size should be safe. Kevin > ━━━ > xu

Re: [Qemu-discuss] savevm too slow

2013-09-09 Thread Kevin Wolf
ikely not apply for qemu 1.0, which is almost two years old. Kevin > ━━━ > xuanmao_001 > > From: Kevin Wolf > Date: 2013-09-09 16:35 > To: xuanmao_001 > CC: qemu-discuss; qemu-devel; quintela; stefan

Re: [Qemu-discuss] qemu-img convert will increase the VM image

2013-09-11 Thread Kevin Wolf
Am 11.09.2013 um 09:14 hat xuanmao_001 geschrieben: > Hi, all: > > I have question about qemu-img convert ... > > I have a orignal image with following information: > # qemu-img info ori.qcow2 > image: ori.qcow2 > file format: qcow2 > virtual size: 2.0G (2097152000 bytes) > disk size: 30

Re: Exporting qcow2 images as raw data from ova file with qemu-nbd

2020-06-29 Thread Kevin Wolf
Am 26.06.2020 um 20:47 hat Nir Soffer geschrieben: > On Tue, Jun 23, 2020 at 1:47 PM Richard W.M. Jones wrote: > > > > On Tue, Jun 23, 2020 at 01:14:43PM +0300, Nir Soffer wrote: > > > On Tue, Jun 23, 2020 at 12:47 PM Richard W.M. Jones > > > wrote: > > > > Here you go: > > > > > > > > https://g

Re: Exporting qcow2 images as raw data from ova file with qemu-nbd

2020-06-29 Thread Kevin Wolf
Am 26.06.2020 um 21:42 hat Nir Soffer geschrieben: > On Tue, Jun 23, 2020 at 1:21 AM Nir Soffer wrote: > > > > I'm trying to export qcow2 images from ova format using qemu-nbd. > > > > I create 2 compressed qcow2 images, with different data: > > > > $ qemu-img info disk1.qcow2 > > image: disk1.qco

Re: Exporting qcow2 images as raw data from ova file with qemu-nbd

2020-06-29 Thread Kevin Wolf
Am 29.06.2020 um 15:08 hat Nir Soffer geschrieben: > On Mon, Jun 29, 2020 at 3:06 PM Kevin Wolf wrote: > > > > Am 26.06.2020 um 21:42 hat Nir Soffer geschrieben: > > > On Tue, Jun 23, 2020 at 1:21 AM Nir Soffer wrote: > > > > > > > > I'm try

Re: equivalent to "-drive if=ide,id=disk0....."

2020-07-28 Thread Kevin Wolf
Am 27.07.2020 um 23:50 hat Kashyap Chamarthy geschrieben: > [Cc: qemu-block] > > On Mon, Jul 27, 2020 at 05:11:15PM +0800, Derek Su wrote: > > Hello, > > > > I'm trying to replace "-drive if=ide,id=disk0." with "-blockdev > > '{"node-name": "top-node"," > > The "id" is the name of BlockBa

Re: how to change sector size using qemu-img

2021-06-28 Thread Kevin Wolf
Am 25.06.2021 um 21:06 hat Nir Soffer geschrieben: > On Fri, Jun 25, 2021 at 7:40 PM Jiatong Shen wrote: > > > > Hello community, > > > > I have a disk with both logical and physical sector size being 4096. I have > > a qcow2 image which is built from a virtual machine has legacy 512 bytes > > s