mirror of
https://github.com/qemu/qemu.git
synced 2024-12-04 01:03:38 +08:00
2ce68e4cf5
it will allow for other parts of QEMU check if it's safe to map memory region during hotplug/runtime. That way hotplug path will have a chance to cancel hotplug operation instead of crashing in vhost_commit(). Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
7 lines
82 B
C
7 lines
82 B
C
#include "hw/virtio/vhost.h"
|
|
|
|
bool vhost_has_free_slot(void)
|
|
{
|
|
return true;
|
|
}
|