Re: virtio config_ops refactoring

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Anthony Liguori <aliguori@...>
Cc: Avi Kivity <avi@...>, <virtualization@...>, <linux-kernel@...>, Dor Laor <dor.laor@...>
Date: Tuesday, November 6, 2007 - 6:57 pm

On Wednesday 07 November 2007 04:48:35 Anthony Liguori wrote:

Hi Anthony,

	Not sure I get this.  It is a unique identifier.  You need the length
to handle unknown fields.


Well, they're *all* stateful.  This gives a simple method of knowing what 
fields the guest understands: it marks the fields as it finds them.  Then it 
sets the status, which allows the host to know when it's completed 
configuration reads.

I like enumerating the virtqueues: it's not necessary but it's clearer.


I'd be happy for a simpler mechanism...

Cheers,
Rusty.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
virtio config_ops refactoring, Anthony Liguori, (Tue Nov 6, 1:48 pm)
Re: virtio config_ops refactoring, Rusty Russell, (Tue Nov 6, 6:57 pm)