mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
virtio-devices: Remove warning generating read_config() implementation
The version in VirtioDevice can be used instead. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
676322c3cc
commit
5d67338b29
@ -288,10 +288,6 @@ impl VirtioDevice for Rng {
|
||||
self.acked_features |= v;
|
||||
}
|
||||
|
||||
fn read_config(&self, _offset: u64, _data: &mut [u8]) {
|
||||
warn!("No currently device specific configration defined");
|
||||
}
|
||||
|
||||
fn activate(
|
||||
&mut self,
|
||||
mem: GuestMemoryAtomic<GuestMemoryMmap>,
|
||||
|
Loading…
Reference in New Issue
Block a user