<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.abuissa.net/index.php?action=history&amp;feed=atom&amp;title=How_to_get_libvirt_working_on_macos</id>
	<title>How to get libvirt working on macos - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.abuissa.net/index.php?action=history&amp;feed=atom&amp;title=How_to_get_libvirt_working_on_macos"/>
	<link rel="alternate" type="text/html" href="https://wiki.abuissa.net/index.php?title=How_to_get_libvirt_working_on_macos&amp;action=history"/>
	<updated>2026-04-20T19:31:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.13</generator>
	<entry>
		<id>https://wiki.abuissa.net/index.php?title=How_to_get_libvirt_working_on_macos&amp;diff=218&amp;oldid=prev</id>
		<title>Razzi: Created page with &quot;says to try   qemu:///session  Ok so do   export LIBVIRT_DEFAULT_URI=qemu:///session  With a vagrantfile that looks like   Vagrant.configure(&quot;2&quot;) do |config|    config.vm.defi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.abuissa.net/index.php?title=How_to_get_libvirt_working_on_macos&amp;diff=218&amp;oldid=prev"/>
		<updated>2022-02-01T04:17:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;says to try   qemu:///session  Ok so do   export LIBVIRT_DEFAULT_URI=qemu:///session  With a vagrantfile that looks like   Vagrant.configure(&amp;quot;2&amp;quot;) do |config|    config.vm.defi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;says to try&lt;br /&gt;
&lt;br /&gt;
 qemu:///session&lt;br /&gt;
&lt;br /&gt;
Ok so do&lt;br /&gt;
&lt;br /&gt;
 export LIBVIRT_DEFAULT_URI=qemu:///session&lt;br /&gt;
&lt;br /&gt;
With a vagrantfile that looks like&lt;br /&gt;
&lt;br /&gt;
 Vagrant.configure(&amp;quot;2&amp;quot;) do |config|&lt;br /&gt;
   config.vm.define :test_vm do |test_vm|&lt;br /&gt;
     test_vm.vm.box = &amp;quot;fedora/32-cloud-base&amp;quot;&lt;br /&gt;
   end&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
I get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        38: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run&amp;#039;&lt;br /&gt;
        37: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/machine.rb:201:in `action&amp;#039;&lt;br /&gt;
        36: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/machine.rb:201:in `call&amp;#039;&lt;br /&gt;
        35: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/environment.rb:614:in `lock&amp;#039;&lt;br /&gt;
        34: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/machine.rb:215:in `block in action&amp;#039;&lt;br /&gt;
        33: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/machine.rb:246:in `action_raw&amp;#039;&lt;br /&gt;
        32: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/runner.rb:89:in `run&amp;#039;&lt;br /&gt;
        31: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/util/busy.rb:19:in `busy&amp;#039;&lt;br /&gt;
        30: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/runner.rb:89:in `block in run&amp;#039;&lt;br /&gt;
        29: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/builder.rb:149:in `call&amp;#039;&lt;br /&gt;
        28: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call&amp;#039;&lt;br /&gt;
        27: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/builtin/config_validate.rb:25:in `call&amp;#039;&lt;br /&gt;
        26: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call&amp;#039;&lt;br /&gt;
        25: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/builtin/box_check_outdated.rb:31:in `call&amp;#039;&lt;br /&gt;
        24: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call&amp;#039;&lt;br /&gt;
        23: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/builtin/call.rb:53:in `call&amp;#039;&lt;br /&gt;
        22: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/runner.rb:89:in `run&amp;#039;&lt;br /&gt;
        21: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/util/busy.rb:19:in `busy&amp;#039;&lt;br /&gt;
        20: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/runner.rb:89:in `block in run&amp;#039;&lt;br /&gt;
        19: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/builder.rb:149:in `call&amp;#039;&lt;br /&gt;
        18: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call&amp;#039;&lt;br /&gt;
        17: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:127:in `block in finalize_action&amp;#039;&lt;br /&gt;
        16: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call&amp;#039;&lt;br /&gt;
        15: from /Users/rabuissa/.vagrant.d/gems/2.7.4/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/set_name_of_domain.rb:34:in `call&amp;#039;&lt;br /&gt;
        14: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call&amp;#039;&lt;br /&gt;
        13: from /Users/rabuissa/.vagrant.d/gems/2.7.4/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/handle_storage_pool.rb:63:in `call&amp;#039;&lt;br /&gt;
        12: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call&amp;#039;&lt;br /&gt;
        11: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/builtin/handle_box.rb:56:in `call&amp;#039;&lt;br /&gt;
        10: from /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call&amp;#039;&lt;br /&gt;
         9: from /Users/rabuissa/.vagrant.d/gems/2.7.4/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/handle_box_image.rb:111:in `call&amp;#039;&lt;br /&gt;
         8: from /Users/rabuissa/.vagrant.d/gems/2.7.4/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/handle_box_image.rb:111:in `synchronize&amp;#039;&lt;br /&gt;
         7: from /Users/rabuissa/.vagrant.d/gems/2.7.4/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/handle_box_image.rb:112:in `block in call&amp;#039;&lt;br /&gt;
         6: from /Users/rabuissa/.vagrant.d/gems/2.7.4/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/handle_box_image.rb:112:in `each_index&amp;#039;&lt;br /&gt;
         5: from /Users/rabuissa/.vagrant.d/gems/2.7.4/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/handle_box_image.rb:119:in `block (2 levels) in call&amp;#039;&lt;br /&gt;
         4: from /Users/rabuissa/.vagrant.d/gems/2.7.4/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/handle_box_image.rb:196:in `send_box_image&amp;#039;&lt;br /&gt;
         3: from /Users/rabuissa/.vagrant.d/gems/2.7.4/gems/fog-core-2.2.4/lib/fog/core/collection.rb:50:in `create&amp;#039;&lt;br /&gt;
         2: from /Users/rabuissa/.vagrant.d/gems/2.7.4/gems/fog-libvirt-0.9.0/lib/fog/libvirt/models/compute/volume.rb:42:in `save&amp;#039;&lt;br /&gt;
         1: from /Users/rabuissa/.vagrant.d/gems/2.7.4/gems/fog-libvirt-0.9.0/lib/fog/libvirt/requests/compute/create_volume.rb:6:in `create_volume&amp;#039;&lt;br /&gt;
/Users/rabuissa/.vagrant.d/gems/2.7.4/gems/fog-libvirt-0.9.0/lib/fog/libvirt/requests/compute/create_volume.rb:6:in `create_volume_xml&amp;#039;: Call to virStorageVolCreateXML failed: cannot chown /Users/rabuissa/.local/share/libvirt/images/fedora-VAGRANTSLASH-32-cloud-base_vagrant_box_image_32.20200422.0_box.img to (0, 0): Operation not permitted (Libvirt::Error)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a permission issue, let me try sudo&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh-3.2# LIBVIRT_DEFAULT_URI=qemu:///session vagrant up --provider libvirt&lt;br /&gt;
The provider &amp;#039;libvirt&amp;#039; could not be found, but was requested to&lt;br /&gt;
back the machine &amp;#039;test_vm&amp;#039;. Please use a provider that exists.&lt;br /&gt;
&lt;br /&gt;
Vagrant knows about the following providers: docker, hyperv, virtualbox&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok...&lt;/div&gt;</summary>
		<author><name>Razzi</name></author>
	</entry>
</feed>