Re: migrate libvirt config between machines

2021-11-30 Thread daggs
Greetings Daniel, > Sent: Tuesday, November 30, 2021 at 2:11 PM > From: "Daniel P. Berrangé" > To: "Michal Prívozník" > Cc: "daggs" , libvirt-users@redhat.com > Subject: Re: migrate libvirt config between machines > > On Tue, Nov 30, 2021 at 09:28:36AM +0100, Michal Prívozník wrote: > > On 11/29

Re: Libvirt Snapshot Question

2021-11-30 Thread Elias Mobery
Hey Peter, thanks for the super quick reply, you're awesome! So you mean the first option would be to create a second disk instead of using snapshot for write, when it gets too big I can then unplug the disk, delete it (or wipe entire overlay fs) and recreate it to start fresh? OK I will try that

Re: qemu-img create with preallocation=full and compression_type=zlib

2021-11-30 Thread Richard Taubo
On 30 Nov 2021, at 15:27, Daniel P. Berrangé wrote: > > On Tue, Nov 30, 2021 at 02:51:22PM +0100, Richard Taubo wrote: >> Hi! >> >> When running this command on Fedora 35 I get: >> [#] qemu-img create -o preallocation=full -f qcow2 /var/vm_mail/mytest.qcow2 >> 10GB >> => Formatting '/var/vm_mai

Re: qemu-img create with preallocation=full and compression_type=zlib

2021-11-30 Thread Daniel P . Berrangé
On Tue, Nov 30, 2021 at 02:51:22PM +0100, Richard Taubo wrote: > Hi! > > When running this command on Fedora 35 I get: > [#] qemu-img create -o preallocation=full -f qcow2 /var/vm_mail/mytest.qcow2 > 10GB > => Formatting '/var/vm_mail//mytest.qcow2', fmt=qcow2 . . . > preallocation=full compress

Re: Libvirt Snapshot Question

2021-11-30 Thread Peter Krempa
On Tue, Nov 30, 2021 at 14:51:54 +0100, Elias Mobery wrote: > Hello Peter, thank you so much for that detailed info! > > Sorry, you were right, when trying to delete my external snapshot via > snapshot-delete, the error says "deletion of external snapshots unsupported" > > I can't merge the snaps

qemu-img create with preallocation=full and compression_type=zlib

2021-11-30 Thread Richard Taubo
Hi! When running this command on Fedora 35 I get: [#] qemu-img create -o preallocation=full -f qcow2 /var/vm_mail/mytest.qcow2 10GB => Formatting '/var/vm_mail//mytest.qcow2', fmt=qcow2 . . . preallocation=full compression_type=zlib . . . ." Question: When using 'preallocation=full’ I was surpr

Re: Libvirt Snapshot Question

2021-11-30 Thread Elias Mobery
Hello Peter, thank you so much for that detailed info! Sorry, you were right, when trying to delete my external snapshot via snapshot-delete, the error says "deletion of external snapshots unsupported" I can't merge the snapshot because the VM image is in a read-only filesystem. Sorry I should've

[FOSDEM][CFP] Virtualization & IaaS Devroom

2021-11-30 Thread Piotr Kliczewski
We are excited to announce that the call for proposals is now open for the Virtualization & IaaS devroom at the upcoming FOSDEM 2022, to be hosted virtually on February 5th 2022. This year will mark FOSDEM’s 22nd anniversary as one of the longest-running free and open source software developer eve

Re: migrate libvirt config between machines

2021-11-30 Thread Daniel P . Berrangé
On Tue, Nov 30, 2021 at 09:28:36AM +0100, Michal Prívozník wrote: > On 11/29/21 17:37, daggs wrote: > > Greetings, > > > > I'd like to migrate my current libvirt config from one machine to another, > > what is the best way to do so? > > > > Thanks > > > > Do you mean domain/network/... XMLs or

Re: migrate libvirt config between machines

2021-11-30 Thread daggs
Greetings Michal, > Sent: Tuesday, November 30, 2021 at 10:28 AM > From: "Michal Prívozník" > To: "daggs" , libvirt-users@redhat.com > Subject: Re: migrate libvirt config between machines > > On 11/29/21 17:37, daggs wrote: > > Greetings, > > > > I'd like to migrate my current libvirt config fro

Re: virsh create fails with "Unable to find any firmware to satisfy 'efi'" for aarch64 guest on macOS

2021-11-30 Thread Andrea Bolognani
On Tue, Nov 30, 2021 at 11:06:27AM +, Daniel P. Berrangé wrote: > On Tue, Nov 30, 2021 at 02:40:07AM -0800, Andrea Bolognani wrote: > > Michal, have you actually looked at the patch mentioned earlier? If > > not, you can perhaps do a clean room implementation of the fix based > > on the informa

Re: virsh create fails with "Unable to find any firmware to satisfy 'efi'" for aarch64 guest on macOS

2021-11-30 Thread Daniel P . Berrangé
On Tue, Nov 30, 2021 at 02:40:07AM -0800, Andrea Bolognani wrote: > On Tue, Nov 30, 2021 at 09:54:38AM +0100, Michal Prívozník wrote: > > On 11/30/21 06:49, Nathan Vander Wilt wrote: > > > Ah, but it looks like the arm64 -> VIR_ARCH_AARCH64 patch > > > is still in limbo? AFAICT that's the main issu

Re: virsh create fails with "Unable to find any firmware to satisfy 'efi'" for aarch64 guest on macOS

2021-11-30 Thread Michal Prívozník
On 11/30/21 11:40, Andrea Bolognani wrote: > On Tue, Nov 30, 2021 at 09:54:38AM +0100, Michal Prívozník wrote: >> On 11/30/21 06:49, Nathan Vander Wilt wrote: >>> Ah, but it looks like the arm64 -> VIR_ARCH_AARCH64 patch >>> is still in limbo? AFAICT that's the main issue I'm hitting now. > > Unfo

Re: virsh create fails with "Unable to find any firmware to satisfy 'efi'" for aarch64 guest on macOS

2021-11-30 Thread Andrea Bolognani
On Tue, Nov 30, 2021 at 09:54:38AM +0100, Michal Prívozník wrote: > On 11/30/21 06:49, Nathan Vander Wilt wrote: > > Ah, but it looks like the arm64 -> VIR_ARCH_AARCH64 patch > > is still in limbo? AFAICT that's the main issue I'm hitting now. Unfortunately that's the case. > Looking into virArch

Re: Fwd: Installing virtiofs drivers on Windows 11....

2021-11-30 Thread Andrea Bolognani
Please don't top post on technical lists. On Tue, Nov 30, 2021 at 10:31:47AM +0100, Mario Marietto wrote: > > > I'm confused. Anyway,since I don't know how it works virtiofs,I'm using > > > virtio-9p every day. So I can say that bhyve already supports virtio-9p. > > > This is how I make it work un

Re: Fwd: Installing virtiofs drivers on Windows 11....

2021-11-30 Thread Mario Marietto
It seems that it can work on Windows guest. Did you miss this thread ? https://github.com/virtio-win/kvm-guest-drivers-windows/issues/126# Il giorno mar 30 nov 2021 alle ore 10:15 Mario Marietto < marietto2...@gmail.com> ha scritto: > ok I can't because bhyve does not support nested virtualizati

Re: Fwd: Installing virtiofs drivers on Windows 11....

2021-11-30 Thread Mario Marietto
ok I can't because bhyve does not support nested virtualization. sorry for the mistake. Il giorno mar 30 nov 2021 alle ore 10:09 Mario Marietto < marietto2...@gmail.com> ha scritto: > I'm confused. Anyway,since I don't know how it works virtiofs,I'm using > virtio-9p every day. So I can say that

Re: Fwd: Installing virtiofs drivers on Windows 11....

2021-11-30 Thread Mario Marietto
I'm confused. Anyway,since I don't know how it works virtiofs,I'm using virtio-9p every day. So I can say that bhyve already supports virtio-9p. This is how I make it work under Linux : -s 8,virtio-9p,sharename= In the guest I need something like : mount -t 9p -o trans=virtio,version=9p2000.L,rw

Re: virsh create fails with "Unable to find any firmware to satisfy 'efi'" for aarch64 guest on macOS

2021-11-30 Thread Michal Prívozník
On 11/30/21 06:49, Nathan Vander Wilt wrote: > On Mon, Nov 29, 2021 at 2:28 AM Ján Tomko wrote: >> Can you try with the latest libvirt? >> 7.10.0-rc2 was just tagged today and should be out this week: >> https://listman.redhat.com/archives/libvirt-announce/2021-November/msg2.html > > Ah, but

Re: Fwd: Installing virtiofs drivers on Windows 11....

2021-11-30 Thread Andrea Bolognani
On Mon, Nov 29, 2021 at 08:00:15PM +0100, Mario Marietto wrote: > I've been lucky to find a compatriot :) Sometimes time happens and it makes > me feel happy. You are right. I got confused. I've thought virtio-9p > working depended on virtiofs working. Anyway, neither of those functions > works :(

Re: Libvirt Snapshot Question

2021-11-30 Thread Peter Krempa
On Mon, Nov 29, 2021 at 13:05:40 +0100, Elias Mobery wrote: > Hi everybody! > > I'm using a snapshot purely for writes and was wondering if it's possible > to clear/empty the snapshot after it reaches a certain size? > > Created with: > virsh snapshot-create-as --disk-only So this creates a so

Re: virsh create fails with "Unable to find any firmware to satisfy 'efi'" for aarch64 guest on macOS

2021-11-30 Thread Michal Prívozník
On 11/30/21 06:33, Nathan Vander Wilt wrote: > On Fri, Nov 26, 2021 at 11:08 PM Michal Prívozník wrote: >> Since you are providing the path to both UEFI image and varstore you can >> drop this 'firmware="efi"' attribute. It's what's causing troubles here. > > Thank you, yes! > >> A short trip in

Re: migrate libvirt config between machines

2021-11-30 Thread Michal Prívozník
On 11/29/21 17:37, daggs wrote: > Greetings, > > I'd like to migrate my current libvirt config from one machine to another, > what is the best way to do so? > > Thanks > Do you mean domain/network/... XMLs or {libvirtd,qemu,...}.config files? For the former I suggest 'virsh dumpxml $dom > dom