Displaying 12 results from an estimated 12 matches for "virdomainsetmemory".
2020 Sep 17
0
Re: KVM/QEMU Memory Ballooning
...t with
32GB set as maxmemory and currentmemory. So initially the guest will
have its full 32GB available and no balloon driver activity will
take place.
The balloon driver will only do something when the host administrator
*explicitly* sets a balloon target in QEMU. This is doable via the libvirt
virDomainSetMemory API / virsh setmem command.
There is *nothing* in either libvirt or QEMU that monitors host memory
pressure, nor anything that automatically sets balloon driver targets.
It is possible to create an application that monitors host memory and
uses the libvirt APIs to set the ballon driver. That is...
2020 Sep 17
0
RE: EXT: Re: KVM/QEMU Memory Ballooning
...ith 32GB
set as maxmemory and currentmemory. So initially the guest will have its
full 32GB available and no balloon driver activity will take place.
The balloon driver will only do something when the host administrator
*explicitly* sets a balloon target in QEMU. This is doable via the
libvirt virDomainSetMemory API / virsh setmem command.
There is *nothing* in either libvirt or QEMU that monitors host memory
pressure, nor anything that automatically sets balloon driver targets.
It is possible to create an application that monitors host memory and
uses the libvirt APIs to set the ballon driver. That i...
2020 Jan 10
2
Re: [PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
...hedulerType (
virDomainGetUUID (
virDomainGetUUIDString (
virDomainGetVcpus (
virDomainGetXMLDesc (
virDomainInterfaceStats (
virDomainLookupByID (
virDomainLookupByName (
virDomainLookupByUUIDString (
virDomainMemoryPeek (
virDomainMigrate (
virDomainPinVcpu (
virDomainRef(
virDomainSetMaxMemory (
virDomainSetMemory (
virDomainSetSchedulerParameters (
virDomainSetVcpus (
virDomainStatsRecordListFree (
virEventAddTimeout(
virEventRegisterDefaultImpl (
virEventRemoveTimeout(
virEventRunDefaultImpl (
virGetLastError (
virGetVersion (
virInitialize (
virNetworkFree (
virNodeGetCellsFreeMemory (
virNodeGetFreeMemor...
2020 Jan 10
5
[PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
libguestfs usually needs qemu. However it only requires an emulator
for the same architecture, not for all architectures.
libvirt-daemon-kvm pulls in qemu which pulls in emulators for all
architectures, as well as a bunch of other stuff we don't need at all
like network interface support and nwfilter.
There are no Fedora TCG-only arches, so drop the conditional section.
I also made support
2011 May 05
0
Release of libvirt-0.9.1
...n PHYP network driver (Daniel P. Berrange)
- Standard on error variable name in libvirtd dispatcher (Daniel P. Berrange)
- Remove all whitespace before function brackets in daemon dispatcher (Daniel P. Berrange)
- docs: tweak virsh restore warning (Eric Blake)
- setmaxmem: remove the code to invoke virDomainSetMemory in cmdSetmaxmem (Taku Izumi)
- build: fix gitignore sorting (Eric Blake)
- tests: fix recent test failures (Eric Blake)
- libxl: avoid compiler warning (Eric Blake)
- Avoid compiler warnings about int to void * casts (Daniel P. Berrange)
- Remove acinclude.m4 file (Daniel P. Berrange)
- Remove poss...
2019 Apr 08
0
[PATCH v4 2/7] common: Bundle the libvirt-ocaml library for use by virt-v2v
...R (r == -1, "virDomainSetMaxMemory");
+
+ CAMLreturn (Val_unit);
+}
+
+CAMLprim value
+ocaml_libvirt_domain_set_memory (value domv, value memv)
+{
+ CAMLparam2 (domv, memv);
+ virDomainPtr dom = Domain_val (domv);
+ unsigned long mem = Int64_val (memv);
+ int r;
+
+ NONBLOCKING (r = virDomainSetMemory (dom, mem));
+ CHECK_ERROR (r == -1, "virDomainSetMemory");
+
+ CAMLreturn (Val_unit);
+}
+
+CAMLprim value
+ocaml_libvirt_domain_get_info (value domv)
+{
+ CAMLparam1 (domv);
+ CAMLlocal2 (rv, v);
+ virDomainPtr dom = Domain_val (domv);
+ virDomainInfo info;
+ int r;
+
+ NONBLOCK...
2019 Dec 16
3
[v2v PATCH 0/2] Move libvirt-ocaml copy to v2v repo
libvirt-ocaml is used only by virt-v2v, so move it to this repository,
instead of having it around in the common submodule.
The removal from common will happen later.
Pino Toscano (2):
common: Bundle the libvirt-ocaml library for use by virt-v2v
build: switch embedded copy of libvirt-ocaml
.gitignore | 2 +
3rdparty/libvirt-ocaml/Makefile.am |
2018 Aug 30
8
[PATCH 0/7] RFC: switch v2v to ocaml-libvirt
Hi,
this is a mostly done attempt to switch to ocaml-libvirt, embedding the
latest version of it from git. This way, it is possible to improve the
way v2v connects to libvirt for both input, and output modules, and
interacts with libvirt (e.g. no more virsh calls needed in virt-v2v).
As side effect, virt-v2v now requires libvirt, as keeping it optional
would create too much burden.
I could not
2018 Nov 27
8
[PATCH v2 0/7] RFC: switch v2v to ocaml-libvirt
Hi,
this is a mostly done attempt to switch to ocaml-libvirt, embedding the
latest version of it from git. This way, it is possible to improve the
way v2v connects to libvirt for both input, and output modules, and
interacts with libvirt (e.g. no more virsh calls needed in virt-v2v).
As side effect, virt-v2v now requires libvirt, as keeping it optional
would create too much burden.
I could not
2019 Jan 30
8
[PATCH v3 0/7] RFC: switch v2v to ocaml-libvirt
Hi,
this is a mostly done attempt to switch to ocaml-libvirt, embedding the
latest version of it from git. This way, it is possible to improve the
way v2v connects to libvirt for both input, and output modules, and
interacts with libvirt (e.g. no more virsh calls needed in virt-v2v).
As side effect, virt-v2v now requires libvirt, as keeping it optional
would create too much burden.
I could not
2019 May 20
8
[PATCH v5 0/7] v2v: switch to ocaml-libvirt
Hi,
this series switches virt-2v to ocaml-libvirt, embedding the latest
version of it from git. This way, it is possible to improve the way
v2v connects to libvirt for both input, and output modules, and
interacts with libvirt (e.g. no more virsh calls needed in virt-v2v).
As side effect, virt-v2v now requires libvirt, as keeping it optional
would create too much burden.
I could not test all
2019 Apr 08
12
[PATCH 43 0/7] v2v: switch to ocaml-libvirt
Hi,
this series switches virt-2v to ocaml-libvirt, embedding the latest
version of it from git. This way, it is possible to improve the way
v2v connects to libvirt for both input, and output modules, and
interacts with libvirt (e.g. no more virsh calls needed in virt-v2v).
As side effect, virt-v2v now requires libvirt, as keeping it optional
would create too much burden.
I could not test all