[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-1.1] virtio-blk: Fix unused variables in vir
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH for-1.1] virtio-blk: Fix unused variables in virtio_blk_handle_scsi() |
Date: |
Mon, 28 May 2012 13:23:05 +0100 |
On Sun, May 27, 2012 at 3:41 PM, Andreas Färber <address@hidden> wrote:
> Commit f34e73cd69bdbdb9b1d56b288c5e14d6fff58165 (virtio-blk: report
> non-zero status when failing SG_IO requests) exposed the function
> to non-Linux guests. Move all Linux-only variable declarations into
> an #ifdef in the variable declaration block.
>
> Signed-off-by: Andreas Färber <address@hidden>
> Cc: Paolo Bonzini <address@hidden>
> ---
> hw/virtio-blk.c | 6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>