diff options
author | Paul Durrant <pdurrant@amazon.com> | 2022-05-31 13:44:21 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-08 13:06:20 -0400 |
commit | b172862241b4849985c3e0e86cfb05d61e4a841d (patch) | |
tree | 627ce3e699660f0e5d6121b3b3eb84f4bd833a19 /virt | |
parent | 3dbec44d9c94d8350a39326561ac40f969c63d16 (diff) | |
download | lwn-b172862241b4849985c3e0e86cfb05d61e4a841d.tar.gz lwn-b172862241b4849985c3e0e86cfb05d61e4a841d.zip |
KVM: x86: PIT: Preserve state of speaker port data bit
Currently the state of the speaker port (0x61) data bit (bit 1) is not
saved in the exported state (kvm_pit_state2) and hence is lost when
re-constructing guest state.
This patch removes the 'speaker_data_port' field from kvm_kpit_state and
instead tracks the state using a new KVM_PIT_FLAGS_SPEAKER_DATA_ON flag
defined in the API.
Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Message-Id: <20220531124421.1427-1-pdurrant@amazon.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions