]> xenbits.xensource.com Git - xen.git/commit
libxc/restore: Fix data auditing in handle_x86_pv_vcpu_blob()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 19 Dec 2019 20:32:20 +0000 (20:32 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Tue, 5 May 2020 14:47:17 +0000 (15:47 +0100)
commit288872ad3bb320bd9f31145d9bd4e53786fa3245
tree662fe82c4d4aaa870615ec084b86c16f1e27f6f0
parent275475f1e8a772fee5b088eec1cad18fddce4a8f
libxc/restore: Fix data auditing in handle_x86_pv_vcpu_blob()

The current logic only works by chance, in that XSAVE records also tend to be
a multiple of 128.  Implement the missing logic for XSAVE.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
(cherry picked from commit 2a62c22715bf81c5695ae0511f89a940c7c6a492)
(cherry picked from commit 0e2bbcf8b4fe6f5fd23a341848f3785c213b26bb)
tools/libxc/xc_sr_restore_x86_pv.c