On Sun, May 27, 2012 at 3:41 PM, Andreas Färber <andreas.faer...@web.de> 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 <andreas.faer...@web.de> > Cc: Paolo Bonzini <pbonz...@redhat.com> > --- > hw/virtio-blk.c | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com>