aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/fmt.rs
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2021-12-11 20:59:21 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2021-12-11 20:59:21 +0100
commit7e19b13aa9e92e411491c2a745a693dcda500926 (patch)
treec6be1f740621006c2f66274fc26c140fe1c7914c /src/fmt.rs
parent1c4159662e44d0096539e282e0b2bfda349dd4bb (diff)
downloadmini-kvm-rs-7e19b13aa9e92e411491c2a745a693dcda500926.tar.gz
mini-kvm-rs-7e19b13aa9e92e411491c2a745a693dcda500926.zip
fmt: add TF flag
Diffstat (limited to 'src/fmt.rs')
-rw-r--r--src/fmt.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fmt.rs b/src/fmt.rs
index 9ae8689..24971bf 100644
--- a/src/fmt.rs
+++ b/src/fmt.rs
@@ -12,7 +12,7 @@ impl fmt::Display for kvm_regs {
r8 : {:#018x} r9 : {:#018x} r10: {:#018x} r11: {:#018x}\n\
r12: {:#018x} r13: {:#018x} r14: {:#018x} r15: {:#018x}\n\
rsp: {:#018x} rbp: {:#018x}\n\
- rip: {:#018x} rfl: {:#018x} O({}) D({}) I({}) S({}) Z({}) P({}) C({})",
+ rip: {:#018x} rfl: {:#018x} O({}) D({}) I({}) T({}) S({}) Z({}) P({}) C({})",
self.rax,
self.rbx,
self.rcx,
@@ -34,6 +34,7 @@ impl fmt::Display for kvm_regs {
rflags_of(self.rflags),
rflags_df(self.rflags),
rflags_if(self.rflags),
+ rflags_tf(self.rflags),
rflags_sf(self.rflags),
rflags_zf(self.rflags),
rflags_pf(self.rflags),