Re: virtio config_ops refactoring

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rusty Russell <rusty@...>
Cc: Dor Laor <dor.laor@...>, <linux-kernel@...>, <virtualization@...>
Date: Tuesday, November 6, 2007 - 7:05 pm

Rusty Russell wrote:

It's not a unique identifier since it can be used for multiple items 
(like it is for virtqueues configs).


But PCI device configuration is not stateful.  If you care about letting 
the host know what features a guest understands, I think something more 
explicit and stateful should be used.  For instance, a feature register 
that stores a bitmap.

Otherwise, the host has to infer based on what fields that guest has 
read what features the guest actually supports.  That seems error prone 
to me.


What do you think of what I proposed?  It seems simpler to me.

Regards,

Anthony Liguori


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: virtio config_ops refactoring, Anthony Liguori, (Tue Nov 6, 7:05 pm)
[PATCH] virtio config_ops refactoring, Rusty Russell, (Wed Nov 7, 2:04 am)
Re: [PATCH] virtio config_ops refactoring, Anthony Liguori, (Wed Nov 7, 1:30 pm)
Re: [PATCH] virtio config_ops refactoring, Rusty Russell, (Wed Nov 7, 10:20 pm)