Re: [PATCH] block/nvme: Do not allow image creation with NVMe block driver

2020-12-18 Thread Kevin Wolf
Am 17.12.2020 um 17:17 hat Stefan Hajnoczi geschrieben: > On Mon, Dec 07, 2020 at 06:16:04PM +0100, Philippe Mathieu-Daudé wrote: > > On 12/4/20 11:28 PM, Philippe Mathieu-Daudé wrote: > > > On 12/4/20 5:57 PM, Philippe Mathieu-Daudé wrote: > > >> The NVMe driver does not support image creation. >

Re: [PATCH] block/nvme: Do not allow image creation with NVMe block driver

2020-12-17 Thread Stefan Hajnoczi
On Mon, Dec 07, 2020 at 06:16:04PM +0100, Philippe Mathieu-Daudé wrote: > On 12/4/20 11:28 PM, Philippe Mathieu-Daudé wrote: > > On 12/4/20 5:57 PM, Philippe Mathieu-Daudé wrote: > >> The NVMe driver does not support image creation. > >> The full drive has to be passed to the guest. > >> > >> Befor

Re: [PATCH] block/nvme: Do not allow image creation with NVMe block driver

2020-12-07 Thread Philippe Mathieu-Daudé
On 12/4/20 11:28 PM, Philippe Mathieu-Daudé wrote: > On 12/4/20 5:57 PM, Philippe Mathieu-Daudé wrote: >> The NVMe driver does not support image creation. >> The full drive has to be passed to the guest. >> >> Before: >> >> $ qemu-img create -f raw nvme://:04:00.0/1 20G >> Formatting 'nvme:

Re: [PATCH] block/nvme: Do not allow image creation with NVMe block driver

2020-12-04 Thread Philippe Mathieu-Daudé
On 12/4/20 5:57 PM, Philippe Mathieu-Daudé wrote: > The NVMe driver does not support image creation. > The full drive has to be passed to the guest. > > Before: > > $ qemu-img create -f raw nvme://:04:00.0/1 20G > Formatting 'nvme://:04:00.0/1', fmt=raw size=21474836480 > > $ qemu-

[PATCH] block/nvme: Do not allow image creation with NVMe block driver

2020-12-04 Thread Philippe Mathieu-Daudé
The NVMe driver does not support image creation. The full drive has to be passed to the guest. Before: $ qemu-img create -f raw nvme://:04:00.0/1 20G Formatting 'nvme://:04:00.0/1', fmt=raw size=21474836480 $ qemu-img info nvme://:04:00.0/1 image: nvme://:04:00.0/1 file