aboutsummaryrefslogtreecommitdiff
path: root/rust/hw/char/pl011/src
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-10-25 14:29:56 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-11-05 14:18:16 +0100
commit113c66885280bb20296969d780be54fbd42213ad (patch)
tree0c51a3a017ff05a36c22bc4d6c3cd1fec259195c /rust/hw/char/pl011/src
parent0a65e4124ad9c6dab594d738cac31fd32d19402c (diff)
downloadqemu-113c66885280bb20296969d780be54fbd42213ad.zip
qemu-113c66885280bb20296969d780be54fbd42213ad.tar.gz
qemu-113c66885280bb20296969d780be54fbd42213ad.tar.bz2
rust/pl011: fix default value for migrate-clock
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw/char/pl011/src')
-rw-r--r--rust/hw/char/pl011/src/device_class.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/hw/char/pl011/src/device_class.rs b/rust/hw/char/pl011/src/device_class.rs
index 08c846a..9282dc4 100644
--- a/rust/hw/char/pl011/src/device_class.rs
+++ b/rust/hw/char/pl011/src/device_class.rs
@@ -29,7 +29,8 @@ qemu_api::declare_properties! {
PL011State,
migrate_clock,
unsafe { &qdev_prop_bool },
- bool
+ bool,
+ default = true
),
}