diff mbox

[2/2] virtio-blk: drop unused migration.h include

Message ID 1453728801-5398-3-git-send-email-stefanha@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Stefan Hajnoczi Jan. 25, 2016, 1:33 p.m. UTC
The migration blocker functionality is no longer necessary since
dataplane is now compatible with live migration.  Drop the unused header
include.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
This patch can be squashed into "virtio-blk: do not use vring in
dataplane".
---
 hw/block/virtio-blk.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Paolo Bonzini Jan. 25, 2016, 1:46 p.m. UTC | #1
On 25/01/2016 14:33, Stefan Hajnoczi wrote:
> The migration blocker functionality is no longer necessary since
> dataplane is now compatible with live migration.  Drop the unused header
> include.
> 
> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
> ---
> This patch can be squashed into "virtio-blk: do not use vring in
> dataplane".
> ---
>  hw/block/virtio-blk.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c
> index 1106d13..3e34d35 100644
> --- a/hw/block/virtio-blk.c
> +++ b/hw/block/virtio-blk.c
> @@ -20,7 +20,6 @@
>  #include "sysemu/blockdev.h"
>  #include "hw/virtio/virtio-blk.h"
>  #include "dataplane/virtio-blk.h"
> -#include "migration/migration.h"
>  #include "block/scsi.h"
>  #ifdef __linux__
>  # include <scsi/sg.h>
> 

Great, I'll check if the same is needed for hw/scsi/virtio-scsi.c.

Paolo
diff mbox

Patch

diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c
index 1106d13..3e34d35 100644
--- a/hw/block/virtio-blk.c
+++ b/hw/block/virtio-blk.c
@@ -20,7 +20,6 @@ 
 #include "sysemu/blockdev.h"
 #include "hw/virtio/virtio-blk.h"
 #include "dataplane/virtio-blk.h"
-#include "migration/migration.h"
 #include "block/scsi.h"
 #ifdef __linux__
 # include <scsi/sg.h>