Re: [PATCH 02/11] virtio-pci: add PM notification handlers forrestore, freeze, thaw, poweroff

From: Amit Shah
Date: Thu Sep 29 2011 - 23:07:44 EST


On (Thu) 29 Sep 2011 [21:36:38], Sasha Levin wrote:
>
> After drv->freeze() completes, the vq is freed from guest memory, but is
> there anything that prevents from the device to keep writing into that
> vq?
>
> Shouldn't we set status to '0' before we free vqs?

Yes, this should be done in the driver code though, not in common
code. I've fixed this in my tree.

Thanks,

Amit
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/