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 > >

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

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 trying t

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:

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: > > > > > > > >

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

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 q

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 \ > >

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 fix,

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

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

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

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

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 operations

Re: [Qemu-discuss] savevm too slow

2013-09-09 Thread Kevin Wolf
risk for setting cache=writeback with IO_BUF_SIZE 1M ? No. Using a larger buffer size should be safe. Kevin ━━━ xuanmao_001 From: Kevin Wolf Date: 2013-09-06 18:38 To: xuanmao_001 CC: qemu-discuss; qemu-devel