Bug 7918 - runqemu warns about disk image type
Summary: runqemu warns about disk image type
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 1.9
Hardware: All Multiple
: Medium normal
Target Milestone: 1.9 M2
Assignee: Cristian Iorga
QA Contact: Cristina Agurida
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-06-24 15:19 UTC by Ross Burton
Modified: 2015-07-21 10:44 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2015-06-24 15:19:32 UTC
With current master:

$ runqemu qemux86
Continuing with the following parameters:
KERNEL: [/data/poky-master/tmp/deploy/images/qemux86/bzImage-qemux86.bin]
ROOTFS: [/data/poky-master/tmp/deploy/images/qemux86/core-image-base-qemux86-20150624141508.rootfs.ext4]
FSTYPE: [ext4]
Setting up tap interface under sudo
[sudo] password for ross:
Acquiring lockfile for tap0...
Running qemu-system-i386...
/data/poky-master/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-i386 -kernel /data/poky-master/tmp/deploy/images/qemux86/bzImage-qemux86.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -cpu qemu32 -hda /data/poky-master/tmp/deploy/images/qemux86/core-image-base-qemux86-20150624141508.rootfs.ext4 -show-cursor -usb -usbdevice wacom-tablet -vga vmware -no-reboot -m 256 --append "vga=0 uvesafb.mode_option=640x480-32 root=/dev/hda rw mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 rootfstype=ext4 "
WARNING: Image format was not specified for '/data/poky-master/tmp/deploy/images/qemux86/core-image-base-qemux86-20150624141508.rootfs.ext4' 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.
Comment 1 Cristian Iorga 2015-06-29 06:26:13 UTC
Investigation started.
Comment 2 Cristian Iorga 2015-06-29 15:05:45 UTC
Implemented.
Comment 3 Cristian Iorga 2015-06-29 15:06:18 UTC
Patch sent out for review.
Comment 5 Cristina Agurida 2015-07-21 10:44:35 UTC
Verified on master: 0f8d89ce66cfffccc9911d6c61470a585173b79d