[Slackbuilds-users] QEMU

King Beowulf kingbeowulf at gmail.com
Tue May 19 19:45:30 UTC 2015


On Tuesday, May 19, 2015, John Yost <alleytrotter at gmail.com> wrote:

> After the last update to qemu I am getting the following warning:
> WARNING: Image format was not specified for '/mnt/build/buildvm' 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.
>
> Does anyone know where I should "Specify the 'raw' format"?
>
> I use this as my start command:
> [CODE]
> usr/bin/qemu-system-x86_64 \
> -boot c \
> -name build \
> -cpu qemu64 \
> -smp cores=2 \
> -enable-kvm \
> -m 16G \
> -localtime \
> -soundhw es1370 \
> -cdrom
> /mnt/other/Slackware/slackware64-14.1-iso/slackware64-14.1-install-dvd.iso
> \
> -usb \
> -usbdevice host:0781:5581 \
> -vga vmware \
> -hda /mnt/build/buildvm
> [/CODE]
>
> TIA
> john
>
>
>
if "buildvm" is truly a raw image created with "qemu-img create" the just
rename it "buildvm.raw"

also switch "-f raw" might be aplicable, check man page.  i always use
qcow2 so i csn use its fancy features such ad copy on write.

-ed


-- 
You! What PLANET is this!
    -- McCoy, "The City on the Edge of Forever", stardate 3134.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150519/385ba6cc/attachment-0001.html>


More information about the SlackBuilds-users mailing list