[Bug 238794] LAPIC register test failure with OpenBSD 6.5-snapshot guest

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 26 21:20:43 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238794

--- Comment #7 from commit-hook at freebsd.org ---
A commit references this bug:

Author: rgrimes
Date: Wed Jun 26 21:19:44 UTC 2019
New revision: 349441
URL: https://svnweb.freebsd.org/changeset/base/349441

Log:
  Emulate the "TEST r/m{16,32,64}, imm{16,32,32}" instructions (opcode F7H).

  This adds emulation for:
        test r/m16, imm16
        test r/m32, imm32
        test r/m64, imm32 sign-extended to 64

  OpenBSD guests compiled with clang 8.0.0 use TEST directly against a
  Local APIC register instead of separate read via MOV followed by a
  TEST against the register.

  PR:           238794
  Submitted by: jhb
  Reported by:  Jason Tubnor jason at tubnor.net
  Tested by:    Jason Tubnor jason at tubnor.net
  Reviewed by:  markj, Patrick Mooney patrick.mooney at joyent.com
  MFC after:    3 days
  Differential Revision:        https://reviews.freebsd.org/D20755

Changes:
  head/sys/amd64/vmm/vmm_instruction_emul.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list