> #endif /* QEMU_VIRTIO_MEM_PCI_H */ > diff --git a/hw/virtio/virtio-mem.c b/hw/virtio/virtio-mem.c > index 88a99a0d90..eb5cf66855 100644 > --- a/hw/virtio/virtio-mem.c > +++ b/hw/virtio/virtio-mem.c > @@ -491,7 +491,7 @@ static void virtio_mem_device_unrealize(DeviceState *dev, Error **errp) > virtio_del_queue(vdev, 0); > virtio_cleanup(vdev); > g_free(vmem->bitmap); > - ramblock_discard_set_required(false); > + ram_block_discard_set_required(false); ^ this belongs into patch #10. -- Thanks, David / dhildenb