replication_child_perm request write
permissions for all child which will lead bdrv_check_perm fail.
replication_child_perm() should request write
permissions only if it is writable itself.
Signed-off-by: Wang Guang
Signed-off-by: Wang Yong
---
block/replication.c | 11 +++
1 file
instead.
Signed-off-by: Wang Guang
Signed-off-by: Wang Yong
---
migration/colo.c | 19 ---
migration/migration.h | 7 +--
2 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/migration/colo.c b/migration/colo.c
index a425543..617ef23 100644
--- a/migration/colo.c
From: Guang Wang
Due to
Signed-off-by: Wang guang
---
migration/socket.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/migration/socket.c b/migration/socket.c
index 13966f1..193ed22 100644
--- a/migration/socket.c
+++ b/migration/socket.c
@@ -149,6 +149,7 @@ static gboolean
From: ZhiPeng Lu
A RAM device represents a mapping to a physical device, such as to a PCI
* MMIO BAR of an vfio-pci assigned device.
Vhost listens to this region,and increases the region's reference count
while passthrough?for?network adapters (Physical Function, PF or Virtual
Function, VF).
Aft
QIO_CHANNEL_FEATURE_SHUTDOWN already.
Signed-off-by: Wang Guang
Signed-off-by: zhanghailiang
---
io/channel-socket.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/io/channel-socket.c b/io/channel-socket.c
index f546c68..8344da4 100644
--- a/io/channel-socket.c
+++ b/io/channel-socket.c
QIO_CHANNEL_FEATURE_SHUTDOWN already.
Signed-off-by: Wang Guang
Signed-off-by: zhanghailiang
---
io/channel-socket.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/io/channel-socket.c b/io/channel-socket.c
index f546c68..8344da4 100644
--- a/io/channel-socket.c
+++ b/io/channel-socket.c