qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V2 for-1.5] virtio: make virtio device's structu


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH V2 for-1.5] virtio: make virtio device's structures public.
Date: Mon, 18 Feb 2013 09:47:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

Am 12.02.2013 18:00, schrieb address@hidden:
> From: KONRAD Frederic <address@hidden>
> 
> These structures must be made public to avoid two memory allocations for
> refactored virtio devices.
> 
> Changes V2 <- V1:
>     * Move the dataplane include into the header (virtio-blk).
> 
> Signed-off-by: KONRAD Frederic <address@hidden>
> ---
>  hw/virtio-balloon.c    | 15 ---------------
>  hw/virtio-balloon.h    | 14 ++++++++++++++
>  hw/virtio-blk.c        | 19 -------------------
>  hw/virtio-blk.h        | 18 ++++++++++++++++++
>  hw/virtio-net.c        | 50 -------------------------------------------------
>  hw/virtio-net.h        | 51 
> ++++++++++++++++++++++++++++++++++++++++++++++++++
>  hw/virtio-rng.c        | 19 -------------------
>  hw/virtio-rng.h        | 19 +++++++++++++++++++
>  hw/virtio-scsi.c       | 15 ---------------
>  hw/virtio-scsi.h       | 16 ++++++++++++++++
>  hw/virtio-serial-bus.c | 41 ----------------------------------------
>  hw/virtio-serial.h     | 41 ++++++++++++++++++++++++++++++++++++++++
>  12 files changed, 159 insertions(+), 159 deletions(-)
[...]
> diff --git a/hw/virtio-scsi.h b/hw/virtio-scsi.h
> index 8d9d15f..613deb5 100644
> --- a/hw/virtio-scsi.h
> +++ b/hw/virtio-scsi.h
> @@ -16,6 +16,7 @@
>  
>  #include "virtio.h"
>  #include "pci/pci.h"
> +#include <hw/scsi.h>

This should be "hw/scsi.h" and change log should not be in commit
message. Otherwise looks okay as a pure movement, not tested.

Regards,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]