qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1879646] [NEW] [Feature request] x86: dump MSR features in human form
@ 2020-05-20  8:01 Philippe Mathieu-Daudé
  2021-05-09 15:45 ` [Bug 1879646] " Philippe Mathieu-Daudé
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-05-20  8:01 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

QEMU might fail because host/guest cpu features are not properly
configured:

qemu-system-x86_64: error: failed to set MSR 0x48f to 0x7fefff00036dfb
qemu-system-x86_64: /root/qemu-master/target/i386/kvm.c:2695:
kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.

To ease debugging, it the MSR features bit could be dumped.

Example in this thread:

https://lists.gnu.org/archive/html/qemu-devel/2020-05/msg05593.html

  The high 32 bits are 0111 1111 1110 1111 1111 1111.

  The low 32 bits are  0000 0011 0110 1101 1111 1011.

  The features that are set are the xor, so 0111 1100 1000 0010 0000
0100:

  - bit 2, vmx-exit-nosave-debugctl
  - bit 9, host address space size, is handled automatically by QEMU
  - bit 15, vmx-exit-ack-intr
  - bit 17, vmx-exit-save-pat
  - bit 18, vmx-exit-load-pat
  - bit 19, vmx-exit-save-efer
  - bit 20, vmx-exit-load-efer
  - bit 21, vmx-exit-save-preemption-timer

This output ^^^ is easier to digest.

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: i386

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1879646

Title:
  [Feature request] x86: dump MSR features in human form

Status in QEMU:
  New

Bug description:
  QEMU might fail because host/guest cpu features are not properly
  configured:

  qemu-system-x86_64: error: failed to set MSR 0x48f to 0x7fefff00036dfb
  qemu-system-x86_64: /root/qemu-master/target/i386/kvm.c:2695:
  kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.

  To ease debugging, it the MSR features bit could be dumped.

  Example in this thread:

  https://lists.gnu.org/archive/html/qemu-devel/2020-05/msg05593.html

    The high 32 bits are 0111 1111 1110 1111 1111 1111.

    The low 32 bits are  0000 0011 0110 1101 1111 1011.

    The features that are set are the xor, so 0111 1100 1000 0010 0000
  0100:

    - bit 2, vmx-exit-nosave-debugctl
    - bit 9, host address space size, is handled automatically by QEMU
    - bit 15, vmx-exit-ack-intr
    - bit 17, vmx-exit-save-pat
    - bit 18, vmx-exit-load-pat
    - bit 19, vmx-exit-save-efer
    - bit 20, vmx-exit-load-efer
    - bit 21, vmx-exit-save-preemption-timer

  This output ^^^ is easier to digest.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1879646/+subscriptions


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 1879646] Re: [Feature request] x86: dump MSR features in human form
  2020-05-20  8:01 [Bug 1879646] [NEW] [Feature request] x86: dump MSR features in human form Philippe Mathieu-Daudé
@ 2021-05-09 15:45 ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-05-09 15:45 UTC (permalink / raw)
  To: qemu-devel

This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'invalid' now.
Please continue with the discussion here:

 https://gitlab.com/qemu-project/qemu/-/issues/237


** Changed in: qemu
       Status: New => Invalid

** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #237
   https://gitlab.com/qemu-project/qemu/-/issues/237

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1879646

Title:
  [Feature request] x86: dump MSR features in human form

Status in QEMU:
  Invalid

Bug description:
  QEMU might fail because host/guest cpu features are not properly
  configured:

  qemu-system-x86_64: error: failed to set MSR 0x48f to 0x7fefff00036dfb
  qemu-system-x86_64: /root/qemu-master/target/i386/kvm.c:2695:
  kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.

  To ease debugging, it the MSR features bit could be dumped.

  Example in this thread:

  https://lists.gnu.org/archive/html/qemu-devel/2020-05/msg05593.html

    The high 32 bits are 0111 1111 1110 1111 1111 1111.

    The low 32 bits are  0000 0011 0110 1101 1111 1011.

    The features that are set are the xor, so 0111 1100 1000 0010 0000
  0100:

    - bit 2, vmx-exit-nosave-debugctl
    - bit 9, host address space size, is handled automatically by QEMU
    - bit 15, vmx-exit-ack-intr
    - bit 17, vmx-exit-save-pat
    - bit 18, vmx-exit-load-pat
    - bit 19, vmx-exit-save-efer
    - bit 20, vmx-exit-load-efer
    - bit 21, vmx-exit-save-preemption-timer

  This output ^^^ is easier to digest.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1879646/+subscriptions


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-09 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-20  8:01 [Bug 1879646] [NEW] [Feature request] x86: dump MSR features in human form Philippe Mathieu-Daudé
2021-05-09 15:45 ` [Bug 1879646] " Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).