Avi Kivity wrote: > Rusty Russell wrote: >> Previous versions of virtio didn't commonalize probing. For every >> driver, every virtio implementation (KVM, lguest, etc) needed an >> in-kernel stub to join their bus to the probe code. >> >> To solve this, we introduce a "virtio_config" mechanism, which is >> simply a set of [u8 type][u8 len][...data...] fields for each device. >> Some convenient wrapper functions make this fairly easy for drivers to >> unpack their configuration data themselves. >> >> This configuration data could be PCI config space, or an unrelated bus >> (eg. lguest) or manufactured by the kernel itself. It's designed to >> be extensible: fields get marked as the device reads them so a host >> supporting some future extension can tell if the guest driver >> understood it. This also applies to bitfields: the guest explicitly >> acks the bits it understands. >> >> There's also a simple status bitmask useful for low-level host >> analysis of what the guest is doing with the device. >> >> > > Lovely. >
A side effect of this is that Xen drivers can no longer use virtio. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel