Bug 7918

Summary: runqemu warns about disk image type
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: Scripts and ToolsAssignee: Cristian Iorga <cristian.iorga>
Status: VERIFIED FIXED QA Contact: Cristina Agurida <cristina-danielax.agurida>
Severity: normal    
Priority: Medium CC: cristina-danielax.agurida, ross.burton
Version: 1.9   
Target Milestone: 1.9 M2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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