1. 30 12月, 2008 3 次提交
  2. 15 11月, 2008 1 次提交
  3. 11 10月, 2008 1 次提交
  4. 01 8月, 2008 1 次提交
    • H
      [S390] virtio console: fix section mismatch warning. · 26f746f3
      Heiko Carstens 提交于
      Fix these two false positive warnings:
      
      WARNING: vmlinux.o(.text+0x2e1cc4): Section mismatch in reference from the function s390_virtio_console_init() to the function .init.text:early_put_chars()
      The function s390_virtio_console_init() references
      the function __init early_put_chars().
      This is often because s390_virtio_console_init lacks a __init
      annotation or the annotation of early_put_chars is wrong.
      
      WARNING: vmlinux.o(.text+0x2e1cd0): Section mismatch in reference from the function s390_virtio_console_init() to the function .init.text:virtio_cons_early_init()
      The function s390_virtio_console_init() references
      the function __init virtio_cons_early_init().
      This is often because s390_virtio_console_init lacks a __init
      annotation or the annotation of virtio_cons_early_init is wrong.
      
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      26f746f3
  5. 25 7月, 2008 3 次提交
  6. 30 5月, 2008 1 次提交
    • R
      virtio: set device index in common code. · b769f579
      Rusty Russell 提交于
      Anthony Liguori points out that three different transports use the virtio code,
      but each one keeps its own counter to set the virtio_device's index field.  In
      theory (though not in current practice) this means that names could be
      duplicated, and that risk grows as more transports are created.
      
      So we move the selection of the unique virtio_device.index into the common code
      in virtio.c, which has the side-benefit of removing duplicate code.
      
      The only complexity is that lguest and S/390 use the index to uniquely identify
      the device in case of catastrophic failure before register_virtio_device() is
      called: now we use the offset within the descriptor page as a unique identifier
      for the printks.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Carsten Otte <cotte@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Chris Lalancette <clalance@redhat.com>
      Cc: Anthony Liguori <anthony@codemonkey.ws>
      b769f579
  7. 18 5月, 2008 1 次提交
  8. 30 4月, 2008 1 次提交
  9. 27 4月, 2008 1 次提交
    • C
      s390: KVM guest: virtio device support, and kvm hypercalls · e976a2b9
      Christian Borntraeger 提交于
      This patch implements kvm guest kernel support for paravirtualized devices
      and contains two parts:
      o a basic virtio stub using virtio_ring and external interrupts and hypercalls
      o full hypercall implementation in kvm_para.h
      
      Currently we dont have PCI on s390. Making virtio_pci usable for s390 seems
      more complicated that providing an own stub. This virtio stub is similar to
      the lguest one, the memory for the descriptors and the device detection is made
      via additional mapped memory on top of the guest storage. We use an external
      interrupt with extint code 0x2603 for host->guest notification.
      
      The hypercall definition uses the diag instruction for issuing a hypercall. The
      parameters are written in R2-R7, the hypercall number is written in R1. This is
      similar to the system call ABI (svc) which can use R1 for the number and R2-R6
      for the parameters.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Acked-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NCarsten Otte <cotte@de.ibm.com>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      e976a2b9