From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7lXR-0004vp-5Q for qemu-devel@nongnu.org; Mon, 08 May 2017 12:29:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7lXO-0001K5-2b for qemu-devel@nongnu.org; Mon, 08 May 2017 12:29:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45270) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7lXN-0001K1-P4 for qemu-devel@nongnu.org; Mon, 08 May 2017 12:29:29 -0400 References: <87wp9r689l.fsf@dusky.pond.sub.org> From: Eric Blake Message-ID: <0456ed7c-c465-6e6b-77a2-8be37e0e6ae2@redhat.com> Date: Mon, 8 May 2017 11:29:25 -0500 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kLkVGlus2U1uVDXQM5EeukMDgxgBoDboO" Subject: Re: [Qemu-devel] format=raw,readonly errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Carl Karsten , John Snow Cc: Markus Armbruster , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kLkVGlus2U1uVDXQM5EeukMDgxgBoDboO From: Eric Blake To: Carl Karsten , John Snow Cc: Markus Armbruster , qemu-devel@nongnu.org Message-ID: <0456ed7c-c465-6e6b-77a2-8be37e0e6ae2@redhat.com> Subject: Re: [Qemu-devel] format=raw,readonly errors References: <87wp9r689l.fsf@dusky.pond.sub.org> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 05/08/2017 10:56 AM, Carl Karsten wrote: >>>>> juser@gator:~/temp$ qemu-system-x86_64 -m 256 -display curses -dri= ve >>>>> file=3Ddisk.cow -drive file=3Dboot.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." >=20 > Is there a way to explicitly enable that? Yes. Pass format=3Draw 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 warnin= g). --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org --kLkVGlus2U1uVDXQM5EeukMDgxgBoDboO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJZEJzlAAoJEKeha0olJ0NqQQ4IAKVjx4BTI/SWob9pUNaKYNH8 eWkVE2EGqlNuu1lU+59IDsu7JAARnMGDhP7BEwJYjIqI3Rhw9It41rJrPLDcPCds IrIipmflzzjrtFEtOmZtkAeZTTTE/hF4fkMrcTS3qZjBv7aIQZH4tmzgJ4jB4Rww YQ8Ci+bSf51tW8JHiUkXj6rsZ6dyVHk6FdjeBGn9oXaP3GZXmhODd7yVFlFwlY4S Sl2yyMMfIQpOCMYvlk/+jCDqBNu1p55luYhB8b1bVll0ufdqQvjdTRIG0nGOm0VY ohBRAmMFfdPRDvXHzpHeJ9I39eoXZq/28+v8l6EMXYf+AfJYkWEFdQ5REJwpiZM= =pvTW -----END PGP SIGNATURE----- --kLkVGlus2U1uVDXQM5EeukMDgxgBoDboO--