Re: How to stop Qemu from resetting terminal?

2023-12-18 Thread Dave Blanchard
> Hmm. Well, we do put the terminal into raw mode (so that we > get stuff like ^C), but that is supposed to be reset when > QEMU exits. Can you please direct me to where in the source code this happens? I found two or three instances where tcsetattr() is being called, and tried disabling those c

Re: Export checkpoint/bitmap from image on qcow2

2023-12-18 Thread Nir Soffer
On Thu, Nov 30, 2023 at 4:14 PM João Jandre Paraquetti wrote: > > Hi, all > > I recently started looking into how to create incremental backups using > Libvirt+Qemu. I have already found that, since Libvirt 7.6.0, we can use > the virDomainBackupBegin API to create incremental backups of live VMs

Re: How to stop Qemu from resetting terminal?

2023-12-18 Thread Peter Maydell
On Mon, 18 Dec 2023 at 13:36, Dave Blanchard wrote: > > > > If you're directing a guest's terminal to the console then things > > like line wrapping are entirely up to the guest -- QEMU is > > providing the equivalent of a piece of hardware like a serial > > terminal, and how the guest chooses to

Re: How to stop Qemu from resetting terminal?

2023-12-18 Thread Dave Blanchard
> If you're directing a guest's terminal to the console then things > like line wrapping are entirely up to the guest -- QEMU is > providing the equivalent of a piece of hardware like a serial > terminal, and how the guest chooses to write to it is up to > the guest's serial drivers and TTY layer

Re: How to stop Qemu from resetting terminal?

2023-12-18 Thread Peter Maydell
On Sun, 17 Dec 2023 at 22:49, Dave Blanchard wrote: > > One particularly annoying trait of Qemu is how it nukes my terminal settings. > This is especially infuriating when booting Linux where the VM console is > redirected to the serial port, which is then displayed on the host console. > Among