Re: [PATCH] virtio: decrement dev_index when device is unregistered

2011-04-11 Thread Takuma Umeya
- Original Message - On Tue, Apr 5, 2011 at 5:49 AM, Takuma Umeya tum...@redhat.com wrote: When virtio device is removed, dev_index does not get decremented. The next device hotplug event results in consuming the next pci to the one that is suppose to be available.

Re: [RFC][PATCH] virtio balloon: kill tell-host-first logic

2011-04-11 Thread Michael S. Tsirkin
On Thu, Apr 07, 2011 at 10:43:25AM -0700, Dave Hansen wrote: The virtio balloon driver has a VIRTIO_BALLOON_F_MUST_TELL_HOST feature bit. Whenever the bit is set, we must always tell the host before we free pages back to the allocator. Without this we might free a page (and have another

[RFC][PATCH] virtio: 64 bit features

2011-04-11 Thread Michael S. Tsirkin
Extend features to 64 bit so we can use more transport bits. Future patches add two new feature bits which would exhaust the supply of transport feature bits, so let's add bit 31 to tell the guest that there are now 64 worth of features. For PCI this also changes the config layout.

Hyper-V vmbus driver

2011-04-11 Thread KY Srinivasan
Greg, Recently, you applied a patch-set from me that cleaned a bunch of architectural issues in the vmbus driver. With that patch-set, I think I have addressed all architectural issues that I am aware of. I was wondering if you would have the time to let me know what else would have to be

Re: Hyper-V vmbus driver

2011-04-11 Thread Greg KH
On Mon, Apr 11, 2011 at 06:46:24PM +, KY Srinivasan wrote: Greg, Recently, you applied a patch-set from me that cleaned a bunch of architectural issues in the vmbus driver. With that patch-set, I think I have addressed all architectural issues that I am aware of. I was

Re: [RFC][PATCH] virtio balloon: kill tell-host-first logic

2011-04-11 Thread Dave Hansen
On Mon, 2011-04-11 at 14:01 +0300, Michael S. Tsirkin wrote: On Thu, Apr 07, 2011 at 10:43:25AM -0700, Dave Hansen wrote: The virtio balloon driver has a VIRTIO_BALLOON_F_MUST_TELL_HOST feature bit. Whenever the bit is set, we must always tell the host before we free pages back to the

Re: [RFC][PATCH] virtio: 64 bit features

2011-04-11 Thread Rusty Russell
On Mon, 11 Apr 2011 19:55:25 +0300, Michael S. Tsirkin m...@redhat.com wrote: Extend features to 64 bit so we can use more transport bits. Future patches add two new feature bits which would exhaust the supply of transport feature bits, so let's add bit 31 to tell the guest that there are

Re: [RFC][PATCH] virtio balloon: kill tell-host-first logic

2011-04-11 Thread Amit Shah
On (Mon) 11 Apr 2011 [15:11:11], Dave Hansen wrote: On Mon, 2011-04-11 at 14:01 +0300, Michael S. Tsirkin wrote: On Thu, Apr 07, 2011 at 10:43:25AM -0700, Dave Hansen wrote: The virtio balloon driver has a VIRTIO_BALLOON_F_MUST_TELL_HOST feature bit. Whenever the bit is set, we must