lkml.org 
[lkml]   [2011]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCHv3 RFC] virtio-pci: flexible configuration layout
    From
    Date
    On Mon, 2011-11-28 at 11:25 +1030, Rusty Russell wrote:
    > I'd like to see kvmtools remove support for legacy mode altogether,
    > but they probably have existing users.

    While we can't simply remove it right away, instead of mixing our
    implementation for both legacy and new spec in the same code we can
    split the virtio-pci implementation into two:

    - virtio/virtio-pci-legacy.c
    - virtio/virtio-pci.c

    At that point we can #ifdef the entire virtio-pci-legacy.c for now and
    remove it at the same time legacy virtio-pci is removed from the kernel.

    I think this is something very similar to what you want done in the
    kernel code, so an added plus is that the usermode code will be
    mirroring the kernel code - which is something we try to have in the KVM
    tool :)

    --

    Sasha.



    \
     
     \ /
      Last update: 2011-11-28 10:19    [W:2.148 / U:0.784 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site