qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 37f9e2: xen-hvm.c: Add support for Xen access


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 37f9e2: xen-hvm.c: Add support for Xen access to vmport
Date: Fri, 31 Oct 2014 04:00:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 37f9e258b64b3cf97c7c78df60660100c9eb5a21
      
https://github.com/qemu/qemu/commit/37f9e258b64b3cf97c7c78df60660100c9eb5a21
  Author: Don Slutz <address@hidden>
  Date:   2014-10-30 (Thu, 30 Oct 2014)

  Changed paths:
    M include/hw/xen/xen_common.h
    M xen-hvm.c

  Log Message:
  -----------
  xen-hvm.c: Add support for Xen access to vmport

This adds synchronisation of the 6 vcpu registers (only 32bits of
them) that vmport.c needs between Xen and QEMU.

This is to avoid a 2nd and 3rd exchange between QEMU and Xen to
fetch and put these 6 vcpu registers used by the code in vmport.c
and vmmouse.c

The registers are passed in the new shared page provided by
HVM_PARAM_VMPORT_REGS_PFN.

Add new array to XenIOState that allows selection of current_cpu by
vcpu id.

Now pass XenIOState to handle_ioreq().

Add new routines regs_to_cpu(), regs_from_cpu(), and
handle_vmport_ioreq().

Signed-off-by: Don Slutz <address@hidden>
Reviewed-by: Paul Durrant <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>


  Commit: d4f9e806c20607cafe7bb0d9eba14ccb160390a1
      
https://github.com/qemu/qemu/commit/d4f9e806c20607cafe7bb0d9eba14ccb160390a1
  Author: James Harper <address@hidden>
  Date:   2014-10-30 (Thu, 30 Oct 2014)

  Changed paths:
    M hw/ide/piix.c

  Log Message:
  -----------
  fix off-by-one error in pci_piix3_xen_ide_unplug

Fix off-by-one error when unplugging disks, which would otherwise leave the 
last ATA disk plugged, with obvious consequences. Also rewrite loop to be more 
readable.

Signed-off-by: James Harper <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>


  Commit: ee29498e4f0f3eff90eeeb7f5fa1703abedd2fb6
      
https://github.com/qemu/qemu/commit/ee29498e4f0f3eff90eeeb7f5fa1703abedd2fb6
  Author: Peter Maydell <address@hidden>
  Date:   2014-10-30 (Thu, 30 Oct 2014)

  Changed paths:
    M hw/ide/piix.c
    M include/hw/xen/xen_common.h
    M xen-hvm.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/sstabellini/xen-2014-10-30' into staging

* remotes/sstabellini/xen-2014-10-30:
  fix off-by-one error in pci_piix3_xen_ide_unplug
  xen-hvm.c: Add support for Xen access to vmport

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/4239e2dc018c...ee29498e4f0f

reply via email to

[Prev in Thread] Current Thread [Next in Thread]