mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-09-12 18:15:06 +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;
|
self.acked_features |= v;
|
||||||
}
|
}
|
||||||
|
|
||||||
fn read_config(&self, _offset: u64, _data: &mut [u8]) {
|
|
||||||
warn!("No currently device specific configration defined");
|
|
||||||
}
|
|
||||||
|
|
||||||
fn activate(
|
fn activate(
|
||||||
&mut self,
|
&mut self,
|
||||||
mem: GuestMemoryAtomic<GuestMemoryMmap>,
|
mem: GuestMemoryAtomic<GuestMemoryMmap>,
|
||||||
|
Loading…
Reference in New Issue
Block a user