1. 11 3月, 2011 27 次提交
  2. 21 1月, 2011 11 次提交
  3. 20 1月, 2011 2 次提交
    • M
      virtio: remove virtio-pci root device · 8b3bb3ec
      Milton Miller 提交于
      We sometimes need to map between the virtio device and
      the given pci device. One such use is OS installer that
      gets the boot pci device from BIOS and needs to
      find the relevant block device. Since it can't,
      installation fails.
      
      Instead of creating a top-level devices/virtio-pci
      directory, create each device under the corresponding
      pci device node.  Symlinks to all virtio-pci
      devices can be found under the pci driver link in
      bus/pci/drivers/virtio-pci/devices, and all virtio
      devices under drivers/bus/virtio/devices.
      Signed-off-by: NMilton Miller <miltonm@bga.com>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Acked-by: NMichael S. Tsirkin <mst@redhat.com>
      Tested-by: NMichael S. Tsirkin <mst@redhat.com>
      Acked-by: NGleb Natapov <gleb@redhat.com>
      Tested-by: N"Daniel P. Berrange" <berrange@redhat.com>
      Cc: stable@kernel.org
      8b3bb3ec
    • R
      lguest: compile fixes · ced05dd7
      Rusty Russell 提交于
      arch/x86/lguest/boot.c: In function ‘lguest_init_IRQ’:
      arch/x86/lguest/boot.c:824: error: macro "__this_cpu_write" requires 2 arguments, but only 1 given
      arch/x86/lguest/boot.c:824: error: ‘__this_cpu_write’ undeclared (first use in this function)
      arch/x86/lguest/boot.c:824: error: (Each undeclared identifier is reported only once
      arch/x86/lguest/boot.c:824: error: for each function it appears in.)
      
      drivers/lguest/x86/core.c: In function ‘copy_in_guest_info’:
      drivers/lguest/x86/core.c:94: error: lvalue required as left operand of assignment
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      ced05dd7