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:
Samuel Ortiz 2020-01-27 19:03:58 +01:00 committed by Sebastien Boeuf
parent 2cb7ec04a4
commit 2e2b1e4230
3 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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 {}

View File

@ -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 {}