Displaying 7 results from an estimated 7 matches for "qemu_domain".
2023 Sep 20
1
virtio-mem with virt-install to share memory between guest and host on-demand
...ebian-12.1.0-amd64-netinst.iso --os-variant=debian11
> --graphics none --extra-args "console=ttyS0
When using PCI device assignment, the VFIO driver requires that libvit
pin guest memory into RAM
https://gitlab.com/libvirt/libvirt/-/blob/19484ccac5cb1586f9d10d3e6eb9b93ee82885c6/src/qemu/qemu_domain.c#L9567
so that's why you'll see the immediate memory usage. I dont' think there's
any way to workaround this limitation automatically. Closest you can get is
to actually hot-unplug the RAM your guest isn't using, but that needs manual
work to re-hot-plug it if the guest later...
2020 Oct 28
2
proper config for qemu's host_cdrom
...generated, host_Cdrom will be used instead of host_device.
looking at https://gitlab.com/libvirt/libvirt/-/blob/master/src/qemu/qemu_block.c#L1090, I see that hostcdrom must be true.
in order for that to be true, the following must be (see https://gitlab.com/libvirt/libvirt/-/blob/master/src/qemu/qemu_domain.c#L7167):
1. disk->device == VIR_DOMAIN_DISK_DEVICE_CDROM
2. disksrc->format == VIR_STORAGE_FILE_RAW
3. virStorageSourceIsBlockLocal(disksrc)
4. virFileIsCDROM(disksrc->path) == 1
virFileIsCDROM uses the kernel, so I assume that as disksrc->path points to the actual path (I can see it...
2017 May 28
2
Hopefully simple question
Is there a way to determine what the hypervisor default NIC is? I'm
using kvm/libvirt/qemu. If this is the wrong forum please please reply
with that.
2020 Nov 02
0
Re: proper config for qemu's host_cdrom
...t_Cdrom will be used instead of host_device.
>
> looking at https://gitlab.com/libvirt/libvirt/-/blob/master/src/qemu/qemu_block.c#L1090, I see that hostcdrom must be true.
> in order for that to be true, the following must be (see https://gitlab.com/libvirt/libvirt/-/blob/master/src/qemu/qemu_domain.c#L7167):
> 1. disk->device == VIR_DOMAIN_DISK_DEVICE_CDROM
> 2. disksrc->format == VIR_STORAGE_FILE_RAW
> 3. virStorageSourceIsBlockLocal(disksrc)
> 4. virFileIsCDROM(disksrc->path) == 1
>
> virFileIsCDROM uses the kernel, so I assume that as disksrc->path points to...
2023 Sep 15
1
virtio-mem with virt-install to share memory between guest and host on-demand
Hi
I'm trying to Passthrough a GPU to a VM and have it still share its free
memory with the host (just like it would with virtio-balloon). Is this
something virtio-mem is capable of? I've tried to run it, but it
immediately took over 9GB of memory:
virt-install --name test --cpu
cell0.cpus=0,cell0.memory=4194304,cell1.cpus=1,cell1.memory=4194304
--memory
2017 Dec 22
2
Re: [BUG] Not exiting media forced a promptly close of libvirt 3.10
...ION__ = "virStorageFileReportBrokenChain"
#1 0x00007f0d4b56a262 in qemuDomainDetermineDiskChain
(driver=driver@entry=0x7f0d40240bf0, vm=vm@entry=0x7f0d400e66d0,
disk=disk@entry=0x7f0d4037fa80, force_probe=force_probe@entry=true,
report_broken=report_broken@entry=true)
at qemu/qemu_domain.c:6383
cfg = 0x7f0d400be000
src = 0x7f0d4004ac40
ret = -1
uid = 1074685768
gid = 32525
__FUNCTION__ = "qemuDomainDetermineDiskChain"
#2 0x00007f0d4b594c92 in qemuProcessPrepareHostStorage (flags=17,
vm=0x7f0d400e66d0, driver=0x7f0d40...
2017 Dec 22
2
[BUG] Not exiting media forced a promptly close of libvirt 3.10
Hello,
In the .xml file I use a media which is no longer available.
In the past, I got the information media not available and the
creation of the VM was stopped - O.k. behavior.
Since 3.10 the libvirtd stopped promptly and all open
consoles windows and the virt-manager closed promptly.
For diagnose:
etcsvms1:/kvm/CS8200/M5 # coredumpctl
TIME PID UID GID SIG