qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 9/9] qemu-iotests: Test writing non-raw image


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v3 9/9] qemu-iotests: Test writing non-raw image headers to raw image
Date: Thu, 20 Nov 2014 17:29:17 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Am 20.11.2014 um 17:18 hat Max Reitz geschrieben:
> On 2014-11-20 at 16:27, Kevin Wolf wrote:
> >This is forbidden if the raw driver was probed.
> >
> >Signed-off-by: Kevin Wolf <address@hidden>
> >---
> >  tests/qemu-iotests/109                            | 132 +++++++++++++
> >  tests/qemu-iotests/109.out                        | 231 
> > ++++++++++++++++++++++
> >  tests/qemu-iotests/group                          |   1 +
> >  tests/qemu-iotests/sample_images/grub_mbr.raw.bz2 | Bin 0 -> 552 bytes
> >  4 files changed, 364 insertions(+)
> >  create mode 100755 tests/qemu-iotests/109
> >  create mode 100644 tests/qemu-iotests/109.out
> >  create mode 100644 tests/qemu-iotests/sample_images/grub_mbr.raw.bz2
> 
> Looking at the hexdump of the grub_mbr.raw, it looks like GRUB 2 to
> me (when comparing it to my MBR and a GRUB Legacy boot sector; I
> wasn't so sure whether you might go for GRUB Legacy as a late
> protest against GRUB 2). Good. :-)

I don't care about the bad usability of a bootloader when I only put
some part of it in an MBR image that won't boot anyway. ;-)

My only form of protest is that if I nowadays want to write a bootloader
to a disk image from the host, it's syslinux and not GRUB any more. It's
not quite as nice, but at least installing that one is possible without
damage to your sanity...

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]