• Move registration function for the boot_set callback handler and provide
    qemu_boot_set so that it can also be used outside the monitor code.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Jan Kiszka authored
     
    Browse Dir »
  • Add a pc-0-10 machine type to allow a pc machine to be created with
    virtio block and console devices compatibility with qemu-0.10.x.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Mark McLoughlin authored
     
    Browse Code »
  • We're using PCI_CLASS_DISPLAY_OTHER now, but qemu-kvm.git is using
    PCI_CLASS_OTHERS because:
    
      "As a PCI_CLASS_DISPLAY_OTHER, it reduces primary display somehow on
       Windows XP (possibly Windows disables acceleration since it fails
       to find a driver)."
    
    While this is valid, many versions of X will get confused by it.
    Class major number of 0 gets treated as a possibly prehistoric VGA
    device, and then the autoconfig logic gets confused trying to figure
    out whether the virtio console or the pv vga device are the real VGA.
    
    We should really set a proper class ID. 0x0780 (serial / other) seems
    most appropriate. This shouldn't require any kernel changes, the
    modalias for virtio looks like:
    
      alias:          pci:v00001AF4d*sv*sd*bc*sc*i*
    
    so won't care what the base class or subclass are.
    
    It shows up in the guest as:
    
      00:05.0 Communication controller: Qumranet, Inc. Virtio console
    
    A new qdev type is introduced to allow devices using the old class
    to be created for compatibility with qemu-0.10.x.
    
    Reported-by: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Mark McLoughlin authored
     
    Browse Code »
  • Windows virtio driver cannot pass DTM (certification) tests while the
    storage class is PCI_CLASS_STORAGE_UNKNOWN.
    
    A new qdev type is introduced to allow devices using the old class
    to be created for compatibility with qemu-0.10.x.
    
    Reported-by: Dor Laor <dlaor@redhat.com>
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Mark McLoughlin authored
     
    Browse Dir »








  • We want to do (at least) two things to the virtio-balloon device:
    suppress it, and control its PCI address.  Option -no-virtio-balloon
    lets us do only the former.  To get the latter, replace
    -no-virtio-balloon with
    
        -balloon none   disable balloon device
        -balloon virtio[,addr=str]
                        enable virtio balloon device (default)
    
    Syntax suggested by Anthony Liguori.
    
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Markus Armbruster authored
     
    Browse Code »