qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] c4f68f: Xen: fix converity warning of xen_pt_


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] c4f68f: Xen: fix converity warning of xen_pt_config_init()
Date: Mon, 15 Aug 2016 14:00:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c4f68f0b52f4d84658ee977eb7e44a80857e0b50
      
https://github.com/qemu/qemu/commit/c4f68f0b52f4d84658ee977eb7e44a80857e0b50
  Author: Cao jin <address@hidden>
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
    M hw/xen/xen_pt_config_init.c

  Log Message:
  -----------
  Xen: fix converity warning of xen_pt_config_init()

emu_regs is a pointer, ARRAY_SIZE doesn't return what we expect.
Since the remaining message is enough for debugging, so just remove it.
Also tweaked the message a little.

Signed-off-by: Cao jin <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>


  Commit: b7665c6027c972c23668ee74b878b5c617218514
      
https://github.com/qemu/qemu/commit/b7665c6027c972c23668ee74b878b5c617218514
  Author: Paul Durrant <address@hidden>
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  -----------
  xen: handle inbound migration of VMs without ioreq server pages

VMs created on older versions on Xen will not have been provisioned with
pages to support creation of non-default ioreq servers. In this case
the ioreq server API is not supported and QEMU's only option is to fall
back to using the default ioreq server pages as it did prior to
commit 3996e85c ("Xen: Use the ioreq-server API when available").

This patch therefore changes the code in xen_common.h to stop considering
a failure of xc_hvm_create_ioreq_server() as a hard failure but simply
as an indication that the guest is too old to support the ioreq server
API. Instead a boolean is set to cause reversion to old behaviour such
that the default ioreq server is then used.

Signed-off-by: Paul Durrant <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>
Acked-by: Anthony PERARD <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>


  Commit: e5bfef86fe57fcf11cb761ac9a59006442f5de8a
      
https://github.com/qemu/qemu/commit/e5bfef86fe57fcf11cb761ac9a59006442f5de8a
  Author: Peter Maydell <address@hidden>
  Date:   2016-08-15 (Mon, 15 Aug 2016)

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

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/sstabellini/tags/xen-20160812-tag-2' 
into staging

Xen 2016/08/12, fixed commit message

# gpg: Signature made Sat 13 Aug 2016 00:39:09 BST
# gpg:                using RSA key 0x894F8F4870E1AE90
# gpg: Good signature from "Stefano Stabellini <address@hidden>"
# Primary key fingerprint: D04E 33AB A51F 67BA 07D3  0AEA 894F 8F48 70E1 AE90

* remotes/sstabellini/tags/xen-20160812-tag-2:
  xen: handle inbound migration of VMs without ioreq server pages
  Xen: fix converity warning of xen_pt_config_init()

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


Compare: https://github.com/qemu/qemu/compare/aba5d9766454...e5bfef86fe57

reply via email to

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