« Previous | Next » 

Revision 95c077c9


Added by Jan Kiszka over 10 years ago

kvm: x86: Prevent sign extension of DR7 in guest debugging mode

This unbreaks guest debugging when the 4th hardware breakpoint used for
guest debugging is a watchpoint of 4 or 8 byte lenght. The 31st bit of
DR7 is set in that case and used to cause a sign extension to the high
word which was breaking the guest state (vm entry failure).

Signed-off-by: Jan Kiszka <>
Signed-off-by: Avi Kivity <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences