]> xenbits.xensource.com Git - people/vhanquez/xen-unstable.git/commitdiff
tools/tests/xen-access: INT3 trap type is s/w exception.
authorKeir Fraser <keir@xen.org>
Wed, 30 May 2012 12:23:31 +0000 (13:23 +0100)
committerKeir Fraser <keir@xen.org>
Wed, 30 May 2012 12:23:31 +0000 (13:23 +0100)
Signed-off-by: Keir Fraser <keir@xen.org>
tools/tests/xen-access/xen-access.c

index e2c8d5e5a4320a1e4225cd48370ea336be7d06b4..9ec733252390d2ecf4258638b1de9b3bf575874f 100644 (file)
@@ -664,7 +664,7 @@ int main(int argc, char *argv[])
                 /* Reinject */
                 rc = xc_hvm_inject_trap(
                     xch, domain_id, req.vcpu_id, 3,
-                    HVMOP_TRAP_hw_exc, -1, 0, 0);
+                    HVMOP_TRAP_sw_exc, -1, 0, 0);
                 if (rc < 0)
                 {
                     ERROR("Error %d injecting int3\n", rc);