qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] aec5e9: kvm: Use KVM_GET_MSR_INDEX_LIST for M


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] aec5e9: kvm: Use KVM_GET_MSR_INDEX_LIST for MSR_IA32_ARCH_...
Date: Tue, 27 Nov 2018 03:21:13 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: aec5e9c3a94cf8b7920f59bef69a6f426092c4a0
      
https://github.com/qemu/qemu/commit/aec5e9c3a94cf8b7920f59bef69a6f426092c4a0
  Author: Bandan Das <address@hidden>
  Date:   2018-11-26 (Mon, 26 Nov 2018)

  Changed paths:
    M target/i386/kvm.c

  Log Message:
  -----------
  kvm: Use KVM_GET_MSR_INDEX_LIST for MSR_IA32_ARCH_CAPABILITIES support

When writing to guest's MSR_IA32_ARCH_CAPABILITIES, check whether it's
supported in the guest using the KVM_GET_MSR_INDEX_LIST ioctl.

Fixes: d86f963694df27f11b3681ffd225c9362de1b634
Suggested-by: Eduardo Habkost <address@hidden>
Tested-by: address@hidden
Signed-off-by: Bandan Das <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 30a759b61a9247378a9cb84fbe4e437ae66e0461
      
https://github.com/qemu/qemu/commit/30a759b61a9247378a9cb84fbe4e437ae66e0461
  Author: Roman Kagan <address@hidden>
  Date:   2018-11-26 (Mon, 26 Nov 2018)

  Changed paths:
    M hw/hyperv/hyperv.c

  Log Message:
  -----------
  hw/hyperv: fix NULL dereference with pure-kvm SynIC

When started in compat configuration of SynIC, e.g.

qemu-system-x86_64 -machine pc-i440fx-2.10,accel=kvm \
 -cpu host,-vmx,hv-relaxed,hv_spinlocks=0x1fff,hv-vpindex,hv-synic

or explicitly

qemu-system-x86_64 -enable-kvm -cpu host,hv-synic,x-hv-synic-kvm-only=on

QEMU crashes in hyperv_synic_reset() trying to access the non-present
qobject for SynIC.

Add the missing check for NULL.

Reported-by: Vitaly Kuznetsov <address@hidden>
Reported-by: Igor Mammedov <address@hidden>
Fixes: 9b4cf107b09d18ac30f46fd1c4de8585ccba030c
Fixes: 4a93722f9c279184e95b1e1ad775c01deec05065
Signed-off-by: Roman Kagan <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: d5d31c9a8ab5e87db4230602a6fd5da8eb13135c
      
https://github.com/qemu/qemu/commit/d5d31c9a8ab5e87db4230602a6fd5da8eb13135c
  Author: Peter Maydell <address@hidden>
  Date:   2018-11-27 (Tue, 27 Nov 2018)

  Changed paths:
    M hw/hyperv/hyperv.c
    M target/i386/kvm.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/ehabkost/tags/x86-for-3.1-pull-request' 
into staging

x86 fixes for -rc3

* Fix SynIC crash
* Fix x86 crash on MSR code on AMD hosts

# gpg: Signature made Mon 26 Nov 2018 20:58:34 GMT
# gpg:                using RSA key 2807936F984DC5A6
# gpg: Good signature from "Eduardo Habkost <address@hidden>"
# Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6

* remotes/ehabkost/tags/x86-for-3.1-pull-request:
  hw/hyperv: fix NULL dereference with pure-kvm SynIC
  kvm: Use KVM_GET_MSR_INDEX_LIST for MSR_IA32_ARCH_CAPABILITIES support

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


Compare: https://github.com/qemu/qemu/compare/d522fba24478...d5d31c9a8ab5
      **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

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