[libvirt] [PATCH] bhyve: defined domains should be persistent

Eric Blake eblake at redhat.com
Sat Mar 1 13:40:52 UTC 2014


On 03/01/2014 01:21 AM, Roman Bogorodskiy wrote:
> ---
>  src/bhyve/bhyve_driver.c | 1 +
>  1 file changed, 1 insertion(+)

ACK, let's get this in 1.2.2

> 
> diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c
> index 23fab90..9dbb299 100644
> --- a/src/bhyve/bhyve_driver.c
> +++ b/src/bhyve/bhyve_driver.c
> @@ -335,6 +335,7 @@ bhyveDomainDefineXML(virConnectPtr conn, const char *xml)
>                                     0, &oldDef)))
>          goto cleanup;
>      def = NULL;
> +    vm->persistent = 1;
>  
>      dom = virGetDomain(conn, vm->def->name, vm->def->uuid);
>      if (dom)
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140301/485fe5f2/attachment-0001.sig>


More information about the libvir-list mailing list