On Mon, May 8, 2017 at 11:29 AM, Eric Blake <[email protected]> wrote:
> On 05/08/2017 10:56 AM, Carl Karsten wrote: > > >>>>> juser@gator:~/temp$ qemu-system-x86_64 -m 256 -display curses > -drive > >>>>> file=disk.cow -drive file=boot.img > >>>>> WARNING: Image format was not specified for 'boot.img' and probing > >>>> guessed > >>>>> raw. > >>>>> Automatically detecting the format is dangerous for raw > >> images, > >>>>> write operations on block 0 will be restricted. > >>>>> Specify the 'raw' format explicitly to remove the > >> restrictions. > > > "write operations on block 0 will be restricted." > > > > Is there a way to explicitly enable that? > > Yes. Pass format=raw at the right place (in other words, instead of > getting the 'raw' format driver by default, explicitly mentioning that > you KNOW you want the 'raw' format driver is enough to shut up the > warning). > according to the warning: "Specify the 'raw' format explicitly to remove the restrictions." I want the restriction. format=raw, (write operations on block 0)=restricted > > -- > Eric Blake, Principal Software Engineer > Red Hat, Inc. +1-919-301-3266 > Virtualization: qemu.org | libvirt.org > > -- Carl K
