commit | 27ebe308af7c14aed0711e25817c6a1235bd16ff | [log] [tgz] |
---|---|---|
author | Anthony Liguori <aliguori@us.ibm.com> | Sun Mar 02 16:37:48 2008 -0600 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Mon Mar 17 22:58:13 2008 +1100 |
tree | dafd3caaa1591a60a7b79f7027c00bcae30f4a6e | |
parent | a978b30af3bab0dd9af9350eeda25e76123fa28e [diff] |
virtio: Use spin_lock_irqsave/restore for virtio-pci virtio-pci acquires its spin lock in an interrupt context so it's necessary to use spin_lock_irqsave/restore variants. This patch fixes guest SMP when using virtio devices in KVM. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>