mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-22 05:24:14 +00:00

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;
|
|
}
|