mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-06 20:00:54 +00:00
vm-virtio: Remove the multiqueue argument from the pausable macro
We only need the ctrl queue one. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
2cb7ec04a4
commit
2e2b1e4230
@ -204,7 +204,7 @@ macro_rules! virtio_pausable {
|
||||
}
|
||||
};
|
||||
|
||||
($type:ident, $ctrl_q:expr, $mq: expr) => {
|
||||
($type:ident, $ctrl_q:expr) => {
|
||||
virtio_pausable_trait!($type);
|
||||
|
||||
impl Pausable for $type {
|
||||
|
@ -583,6 +583,6 @@ impl VirtioDevice for Net {
|
||||
}
|
||||
}
|
||||
|
||||
virtio_pausable!(Net, true, true);
|
||||
virtio_pausable!(Net, true);
|
||||
impl Snapshotable for Net {}
|
||||
impl Migratable for Net {}
|
||||
|
@ -361,6 +361,6 @@ impl VirtioDevice for Net {
|
||||
}
|
||||
}
|
||||
|
||||
virtio_pausable!(Net, true, true);
|
||||
virtio_pausable!(Net, true);
|
||||
impl Snapshotable for Net {}
|
||||
impl Migratable for Net {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user