]> git.proxmox.com Git - mirror_qemu.git/blobdiff - replay/replay-internal.h
replay: make has_unread_data a bool
[mirror_qemu.git] / replay / replay-internal.h
index 98ca3748edb1940ab6fdde7f6ebbe6d4a97ecf29..1bc8fd50868bea43183dcd4e5e4f997216784f4a 100644 (file)
@@ -75,7 +75,7 @@ enum ReplayEvents {
  * @current_icount: number of processed instructions
  * @instruction_count: number of instructions until next event
  * @data_kind: current event
- * @has_unread_data: 1 if event not yet processed
+ * @has_unread_data: true if event not yet processed
  * @file_offset: offset into replay log at replay snapshot
  * @block_request_id: current serialised block request id
  * @read_event_id: current async read event id
@@ -85,7 +85,7 @@ typedef struct ReplayState {
     uint64_t current_icount;
     int instruction_count;
     unsigned int data_kind;
-    unsigned int has_unread_data;
+    bool has_unread_data;
     uint64_t file_offset;
     uint64_t block_request_id;
     uint64_t read_event_id;