* [Qemu-devel] [PATCH for-2.0] vvfat: Fix :floppy: option to suppress partition table
@ 2014-03-27 12:35 Markus Armbruster
2014-03-27 15:00 ` Stefan Hajnoczi
0 siblings, 1 reply; 2+ messages in thread
From: Markus Armbruster @ 2014-03-27 12:35 UTC (permalink / raw)
To: qemu-devel; +Cc: kwolf, suto, stefanha
Regressed in commit 7ad9be6, v1.5.0.
Reported-by: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
block/vvfat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index f966ea5..1978c9e 100644
--- a/block/vvfat.c
+++ b/block/vvfat.c
@@ -1119,6 +1119,7 @@ DLOG(if (stderr == NULL) {
if (!s->fat_type) {
s->fat_type = 16;
}
+ s->first_sectors_number = 0x40;
cyls = s->fat_type == 12 ? 64 : 1024;
heads = 16;
secs = 63;
@@ -1146,7 +1147,6 @@ DLOG(if (stderr == NULL) {
s->current_cluster=0xffffffff;
- s->first_sectors_number=0x40;
/* read only is the default for safety */
bs->read_only = 1;
s->qcow = s->write_target = NULL;
--
1.8.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH for-2.0] vvfat: Fix :floppy: option to suppress partition table
2014-03-27 12:35 [Qemu-devel] [PATCH for-2.0] vvfat: Fix :floppy: option to suppress partition table Markus Armbruster
@ 2014-03-27 15:00 ` Stefan Hajnoczi
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2014-03-27 15:00 UTC (permalink / raw)
To: Markus Armbruster; +Cc: kwolf, suto, qemu-devel
On Thu, Mar 27, 2014 at 01:35:31PM +0100, Markus Armbruster wrote:
> Regressed in commit 7ad9be6, v1.5.0.
>
> Reported-by: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
> block/vvfat.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-27 15:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-27 12:35 [Qemu-devel] [PATCH for-2.0] vvfat: Fix :floppy: option to suppress partition table Markus Armbruster
2014-03-27 15:00 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).