]> git.proxmox.com Git - pve-kernel.git/blobdiff - patches/kernel/0010-KVM-x86-emulator-introduce-emulator_recalc_and_set_m.patch
rebase patches on top of Ubuntu-5.19.0-16.16
[pve-kernel.git] / patches / kernel / 0010-KVM-x86-emulator-introduce-emulator_recalc_and_set_m.patch
index 94d6af02b7f0329bfe253fd22786f232947c5c15..9af47ddd353b3f1a3bff02c9f628abf5107d3086 100644 (file)
@@ -21,10 +21,10 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
  1 file changed, 57 insertions(+), 28 deletions(-)
 
 diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
-index 13181819d52c..9411046e9ee0 100644
+index d888223ef820..529b9e052564 100644
 --- a/arch/x86/kvm/emulate.c
 +++ b/arch/x86/kvm/emulate.c
-@@ -793,8 +793,7 @@ static int linearize(struct x86_emulate_ctxt *ctxt,
+@@ -794,8 +794,7 @@ static int linearize(struct x86_emulate_ctxt *ctxt,
                           ctxt->mode, linear);
  }
  
@@ -34,7 +34,7 @@ index 13181819d52c..9411046e9ee0 100644
  {
        ulong linear;
        int rc;
-@@ -804,41 +803,71 @@ static inline int assign_eip(struct x86_emulate_ctxt *ctxt, ulong dst,
+@@ -805,41 +804,71 @@ static inline int assign_eip(struct x86_emulate_ctxt *ctxt, ulong dst,
  
        if (ctxt->op_bytes != sizeof(unsigned long))
                addr.ea = dst & ((1UL << (ctxt->op_bytes << 3)) - 1);