diff options
author | Oliver Upton <oupton@google.com> | 2022-07-20 12:22:47 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-08-10 22:08:27 +0300 |
commit | f2759c08d8f4d584e88d129e7392260fb4079ec2 (patch) | |
tree | 4ceeee05dada3fc6cc13a6dc2a436b8d41096de6 /Documentation/trace/hwlat_detector.rst | |
parent | 8bad4606acc91523f54fe4f254fd9f187cd21204 (diff) | |
download | linux-f2759c08d8f4d584e88d129e7392260fb4079ec2.tar.xz |
KVM: Shove vm stats_id init into kvm_create_vm()
Initialize stats_id alongside other struct kvm fields to make it more
difficult to unintentionally access stats_id before it's set. While at
it, move the format string to the first line of the call and fix the
indentation of the second line.
No functional change intended.
Signed-off-by: Oliver Upton <oupton@google.com>
Message-Id: <20220720092259.3491733-2-oliver.upton@linux.dev>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/trace/hwlat_detector.rst')
0 files changed, 0 insertions, 0 deletions