yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
0a122b
From 42fe55d38b7b9e838d1962da6a717f765fb055d0 Mon Sep 17 00:00:00 2001
0a122b
Message-Id: <42fe55d38b7b9e838d1962da6a717f765fb055d0.1389014116.git.minovotn@redhat.com>
0a122b
In-Reply-To: <c8cc35838d42aa286242772d97e3a9be7bb786ba.1389014116.git.minovotn@redhat.com>
0a122b
References: <c8cc35838d42aa286242772d97e3a9be7bb786ba.1389014116.git.minovotn@redhat.com>
0a122b
From: Paolo Bonzini <pbonzini@redhat.com>
0a122b
Date: Mon, 9 Dec 2013 14:09:01 +0100
0a122b
Subject: [PATCH 13/50] block/raw: copy BlockLimits on raw_open
0a122b
0a122b
RH-Author: Paolo Bonzini <pbonzini@redhat.com>
0a122b
Message-id: <1386598178-11845-16-git-send-email-pbonzini@redhat.com>
0a122b
Patchwork-id: 56054
0a122b
O-Subject: [RHEL 7.0 qemu-kvm PATCH 15/52] block/raw: copy BlockLimits on raw_open
0a122b
Bugzilla: 1007815
0a122b
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
0a122b
RH-Acked-by: Fam Zheng <famz@redhat.com>
0a122b
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
0a122b
0a122b
From: Peter Lieven <pl@kamp.de>
0a122b
0a122b
Signed-off-by: Peter Lieven <pl@kamp.de>
0a122b
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
0a122b
(cherry picked from commit 04f19e4d2da4325297c99e94f20b0aca52546209)
0a122b
0a122b
Conflicts:
0a122b
	block/raw_bsd.c [replaced by block/raw.c]
0a122b
---
0a122b
 block/raw.c | 1 +
0a122b
 1 file changed, 1 insertion(+)
0a122b
0a122b
Signed-off-by: Michal Novotny <minovotn@redhat.com>
0a122b
---
0a122b
 block/raw.c | 1 +
0a122b
 1 file changed, 1 insertion(+)
0a122b
0a122b
diff --git a/block/raw.c b/block/raw.c
0a122b
index 67d6445..c853258 100644
0a122b
--- a/block/raw.c
0a122b
+++ b/block/raw.c
0a122b
@@ -7,6 +7,7 @@ static int raw_open(BlockDriverState *bs, QDict *options, int flags,
0a122b
                     Error **errp)
0a122b
 {
0a122b
     bs->sg = bs->file->sg;
0a122b
+    bs->bl = bs->file->bl;
0a122b
     return 0;
0a122b
 }
0a122b
 
0a122b
-- 
0a122b
1.7.11.7
0a122b