Displaying 20 results from an estimated 200 matches similar to: "[PATCH] virtio: decrement dev_index when device is unregistered"
2011 Apr 05
3
[PATCH] virtio_blk: decrement index when blockdevice is removed
When virtio block device is removed, index does not get decremented. When
another virtio disk is attached it uses the next device letter to the
one that is suppose to be available.
Signed-off-by: Takuma Umeya <tumeya at redhat.com>
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index 6ecf89c..730e7af 100644
--- a/drivers/block/virtio_blk.c
+++
2011 Apr 05
3
[PATCH] virtio_blk: decrement index when blockdevice is removed
When virtio block device is removed, index does not get decremented. When
another virtio disk is attached it uses the next device letter to the
one that is suppose to be available.
Signed-off-by: Takuma Umeya <tumeya at redhat.com>
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index 6ecf89c..730e7af 100644
--- a/drivers/block/virtio_blk.c
+++
2012 May 03
1
[PATCH 2/2] virtio: Use ida to allocate virtio index
Current index allocation in virtio is based on a monotonically
increasing variable "index". This means we'll run out of numbers
after a while. E.g. someone crazy doing this in host side.
while(1) {
hot-plug a virtio device
hot-unplug the virito devcie
}
Signed-off-by: Asias He <asias at redhat.com>
---
drivers/virtio/virtio.c | 11 +++++++++--
1 file changed, 9
2012 May 03
1
[PATCH 2/2] virtio: Use ida to allocate virtio index
Current index allocation in virtio is based on a monotonically
increasing variable "index". This means we'll run out of numbers
after a while. E.g. someone crazy doing this in host side.
while(1) {
hot-plug a virtio device
hot-unplug the virito devcie
}
Signed-off-by: Asias He <asias at redhat.com>
---
drivers/virtio/virtio.c | 11 +++++++++--
1 file changed, 9
2020 Nov 03
4
[PATCH 0/3] drm/nouveau: fix a use-after-free in postclose()
This series fixes a number of use-after-frees in nouveau's postclose()
handler. It was discovered by pointing IGT's core_hotunplug tests at a
nouveau device, but the steps to reproduce it are simple:
1. Open the device file
2. Unbind the driver or remove the device
3. Close the file opened in step 1.
During the device removal, the nouveau_drm structure is de-allocated,
but is
2007 Nov 10
1
[PATCH] virtio_pci updates
This patch brings the virtio_pci driver up-to-date with what I have locally.
It fixes a bug with destroying a virtqueue, switches to kmalloc so we can
support rings > PAGE_SIZE, and fixes a bug with odd sized configuration
entries.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c
index 85ae096..eb9a8e0 100644
---
2007 Nov 10
1
[PATCH] virtio_pci updates
This patch brings the virtio_pci driver up-to-date with what I have locally.
It fixes a bug with destroying a virtqueue, switches to kmalloc so we can
support rings > PAGE_SIZE, and fixes a bug with odd sized configuration
entries.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c
index 85ae096..eb9a8e0 100644
---
2007 Dec 21
0
[kvm-devel] [Virtio-for-kvm] [PATCH 05/13] [Mostly resend] virtio additions
From c8a8b56ccb6e12954b4752fd8ca46850fe354741 Mon Sep 17 00:00:00 2001
From: Anthony Liguori <aliguori@us.ibm.com>
Date: Mon, 12 Nov 2007 21:30:26 -0600
Subject: [PATCH] virtio: PCI device
This is a PCI device that implements a transport for virtio. It allows
virtio
devices to be used by QEMU based VMMs like KVM or Xen.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2007 Dec 21
0
[kvm-devel] [Virtio-for-kvm] [PATCH 05/13] [Mostly resend] virtio additions
From c8a8b56ccb6e12954b4752fd8ca46850fe354741 Mon Sep 17 00:00:00 2001
From: Anthony Liguori <aliguori@us.ibm.com>
Date: Mon, 12 Nov 2007 21:30:26 -0600
Subject: [PATCH] virtio: PCI device
This is a PCI device that implements a transport for virtio. It allows
virtio
devices to be used by QEMU based VMMs like KVM or Xen.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2008 Jan 08
1
[PATCH] kvm guest balloon driver
Following patch introduces a KVM guest balloon driver. Communication
to/from the host is performed via virtio.
Next patch implements the QEMU driver and handling.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Index: linux-2.6-nv/drivers/virtio/Kconfig
===================================================================
--- linux-2.6-nv.orig/drivers/virtio/Kconfig
+++
2008 Jan 08
1
[PATCH] kvm guest balloon driver
Following patch introduces a KVM guest balloon driver. Communication
to/from the host is performed via virtio.
Next patch implements the QEMU driver and handling.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Index: linux-2.6-nv/drivers/virtio/Kconfig
===================================================================
--- linux-2.6-nv.orig/drivers/virtio/Kconfig
+++
2006 Mar 10
0
Overriding save breaks increment!/decrement!
Is overriding ActiveRecord#save verboten? Doing this causes increment!
and decrement! to break (1 for 0 argument error):
def save
create_or_update
# also tried ''super''
# do stuff
end
Joe
--
Posted via http://www.ruby-forum.com/.
2011 Mar 16
1
[PATCH] virtio: Decrement avail idx on buffer detach
When detaching a buffer from a vq, the avail.idx value should be
decremented as well.
This was noticed by hot-unplugging a virtio console port and then
plugging in a new one on the same number (re-using the vqs which were
just 'disowned'). qemu reported
'Guest moved used index from 0 to 256'
when any IO was attempted on the new port.
CC: stable at kernel.org
Reported-by:
2011 Mar 16
1
[PATCH] virtio: Decrement avail idx on buffer detach
When detaching a buffer from a vq, the avail.idx value should be
decremented as well.
This was noticed by hot-unplugging a virtio console port and then
plugging in a new one on the same number (re-using the vqs which were
just 'disowned'). qemu reported
'Guest moved used index from 0 to 256'
when any IO was attempted on the new port.
CC: stable at kernel.org
Reported-by:
2020 Mar 28
0
[klibc:update-dash] dash: expand: Fix double-decrement in argstr
Commit-ID: 4bfffb1572c9d1b77538b5a3e92c27f91bd2ee99
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=4bfffb1572c9d1b77538b5a3e92c27f91bd2ee99
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 25 Feb 2019 14:00:31 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: expand: Fix
2019 Aug 09
0
[PATCH v3 2/2] virtio: decrement avail idx with buffer detach for packed ring
This patch decrements 'next_avail_idx' count when detaching a buffer
from vq for packed ring code. Split ring code already does this in
virtqueue_detach_unused_buf_split function. This updates the
'next_avail_idx' to the previous correct index after an unused buffer
is detatched from the vq.
Signed-off-by: Pankaj Gupta <pagupta at redhat.com>
---
2019 Aug 10
1
[PATCH v3 2/2] virtio: decrement avail idx with buffer detach for packed ring
On Fri, Aug 09, 2019 at 12:18:47PM +0530, Pankaj Gupta wrote:
> This patch decrements 'next_avail_idx' count when detaching a buffer
> from vq for packed ring code. Split ring code already does this in
> virtqueue_detach_unused_buf_split function. This updates the
> 'next_avail_idx' to the previous correct index after an unused buffer
> is detatched from the vq.
>
2019 Aug 12
1
[PATCH v3 2/2] virtio: decrement avail idx with buffer detach for packed ring
On 2019/8/9 ??2:48, Pankaj Gupta wrote:
> This patch decrements 'next_avail_idx' count when detaching a buffer
> from vq for packed ring code. Split ring code already does this in
> virtqueue_detach_unused_buf_split function. This updates the
> 'next_avail_idx' to the previous correct index after an unused buffer
> is detatched from the vq.
>
> Signed-off-by:
2007 Dec 05
2
Term frequency doesn''t decrement after document is deleted.
Hey all,
The frequency count returned by my ferret reader doesn''t decrement
after I remove a documents with those terms. Using the example from
http://ferret.davebalmain.com/api/classes/Ferret/Index/TermEnum.html
the frequency increments after a document is added but stays the same
after a document is deleted.
index.reader.terms(:tags).each do |term, freq|
"#{term} appears
2010 May 30
5
Automatically decrement value each day
I have a Person model with a points attribute. For the most part,
points values will be incremented and decremented via user votes.
However, I''d also like to decrement a Person''s points by half a point
each day.
How do I automatically decrement the value once per day?
Your help is greatly appreciated :)
Becky
--
Posted via http://www.ruby-forum.com/.
--
You received this