Displaying 20 results from an estimated 300 matches similar to: "can virsh set the cpuset attribute of <vcpu ..> (CPU Allocation) ?"
2014 Jun 08
0
transient domain in virsh list as shut off
<font size=2 face="sans-serif">We have just seen libvirt ending up in
an inconsistent state : a shut off transient domain.</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif">Has anyone seen this before ?</font>
<br>
<br><font size=2
2013 Dec 03
0
cputune shares with multiple cpu and pinning
Hi,
I have found the cpu time partitioning based on cpu shares weights not
very intuitive.
On RHEL64, I deployed two qemu/kvm VMs
VM1 with 1 vcpu and 512 cpu shares
VM2 with 2 vcpus and 1024 cpu shares
I pinned their vcpus to specific host pcpus:
VM1 vcpu 0 to host pcpu1
VM2 vcpu 0 to host pcpu1, VM2 vcpu 1 to host pcpu2
I executed inside the VMs a simple process that consume all
2013 Jun 27
2
qemu-img convert to "sparse" LV
Apologies as this is is not a specific libvirt question.
Is qemu-img convert compatible with thin-provisioned LVs as targets ?
I wanted to convert a file-based image to a LV image
where the file-based image has a capacity much larger than the actual data
it contains, so it has a small footprint on disk
(either a qcow2 or a raw, but sparse, image).
If I use qemu-img convert -O raw ... with a
2012 Sep 21
0
picking a NUMA cell for pinning using virsh freecell
Hi
I'd want to pin the vcpu of a guest to a pcpu.
the docs clearly say
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/ch09s04.html
"Locking a guest to a particular NUMA node offers no benefit if that node
does not have sufficient free memory for that guest. libvirt stores
information on the free memory available on
2013 Apr 22
1
failure creating a snapshot volume within a lvm-based pool
Hi
I have defined a logical pool and a volume within it
# virsh vol-create-as images_lvm myvol 2G
Vol myvol created
# virsh vol-list images_lvm
Name Path
-----------------------------------------
myvol /dev/libvirt_images_vg/myvol
if I try to create another volume using the previous one as backing-vol,
the creation fails with what looks like an incorrect
2013 Jun 28
1
Re: qemu-img convert to "sparse" LV
>
> I think a good way to get that is to shrink the filesystem of the
> original disk, shrink the disk itself and convert the file-based image
> to the LV like you do.
>
> Once done, you can extend the LV and the filesystem back to what it was
> before the process if needed.
>
> Other than that, I don't know a way to get what you want with the
> current tools.
2013 Sep 24
0
Using a shared LVM volume group for both virtual disks and host filesystems
Hi
I have a test environment where a single LVM volume group is used
both as a storage pool for virtual machines' disks AND for the LVs used
for the HOST system filesystem.
I never use libvirt commands to start/stop/activate the pool. Only to
create/delete volumes.
The test environment works fine.
How suitable would be a shared VG for a production environment ?
thanks,
Edoardo Comar
2013 Dec 11
0
guest daemon reading kvmclock - not needed/ bad idea ?
<font size=2 face="sans-serif">Hi</font>
<br>
<br><font size=2 face="sans-serif">I dug various posts and articles on
guest time synchronization.</font>
<br><font size=2 face="sans-serif">I could not conclude why it might be
better to use ntpd in a guest rather than a daemon that reads from kvmclock
</font>
2013 Dec 11
0
guest daemon reading kvmclock - is it not needed or bad idea ?
Hi
(apologies for the previous post in html - was scrubbed in the list
digest)
I've dug various posts and articles on host-guest time synchronization.
I could not conclude why it might be better to use ntpd in a guest rather
than a daemon that reads from kvmclock
and having NTP running on the host only
(assuming the guest OS is a recent linux and so the clock source is set to
the
2016 May 13
0
vcpupin vs taskset performance difference
Hi all,
I am trying to run some performance tests using libvirt 1.2.17. For these tests it is necessary to set a specific affinity for the VCPUs of a running VM.
The problem is, that I noticed a significant performance drop in my metrics when using 'vcpupin' from the virsh console instead of running 'taskset' natively.
Specifically the methods I am comparing are
1.
2017 Apr 26
0
Re: Tunnelled migrate Windows7 VMs halted
On Wed, Apr 26, 2017 at 08:51:39AM -0500, Eric Blake wrote:
> >
> > I migrated a Windows 7 VM with libvirtd tunnelled, the VM halted
> > on the target although the status is running.
What do you mean by halted ? The guest OS has shutdown, or QEMU
has crashed, or something else ?
> >
> >
> > [root@test15 ~]# virsh migrate --live --p2p --tunnelled
2008 Feb 13
2
[Linux/Python 2.4.2] Forking Python doesn't work
Hello
When a call comes in, I'd like to fork a Python script that
broadcasts a message so that users see the CID name + number pop up on
their computer screen, and simultaneously ring their phones.
The following script doesn't work as planned: It waits until the
script ends before moving on to the next step, which is Dial():
===========
exten =>
2014 Feb 12
2
Re: Help? Running into problems with migrateToURI2() and virDomainDefCheckABIStability()
On 02/11/2014 04:45 PM, Cole Robinson wrote:
> On 02/10/2014 06:46 PM, Chris Friesen wrote:
>> Hi,
>>
>> We've run into a problem with libvirt 1.1.2 and are looking for some comments
>> on whether this is a bug or design intent.
>>
>> We're trying to use migrateToURI() but we're using a few things (numatune,
>> vcpu mask, etc.) that may need
2014 Jan 15
2
Does libvirt lxc driver support "cpuset" attribute?
Dear all
I allocate only one vcpu for the container by the following statement, that is, I want to pin the vcpu to physical core "2".
<vcpu placement='static' cpuset="2" >1</vcpu>
My host has 4 physical cores. Before test, all the 4 cores are idle. After I run 4 processes in the container, I found all the 4 cores in the host are 100% used. That is, the
2003 Jul 29
1
Tktable active cell
Thomas Sudler <TSudler at ch.imshealth.com> wrote:
> I want to start an action when i click into a cell. Example:
When I click
> into a cell, a message box should open with the information of
the
> location of the cell where I clicked in. <SNIP> So I only
> need to know how to get the possition of the active cell.
Thomas,
Getting the active cell is easy, just use :
2017 Apr 19
2
virsh error: driver is not whitelisted
Hi,
I'm using virsh to instance a VM in my environment, but I'm running on
some issues. I created the following domain file:
<domain type='kvm'>
<name>demovm</name>
<uuid>4a9b3f53-fa2a-47f3-a757-dd87720d9d1d</uuid>
<memory unit='KiB'>4194304</memory>
<currentMemory
2017 Apr 26
3
Tunnelled migrate Windows7 VMs halted
[moderator note: I'm forwarding a stripped down version of the original
mail which was rejected in the moderator queue. I stripped the 3.3
megabyte .tar.bz2 of the log file attachment, which is inappropriate for
a technical list. Either trim the log to the relevant portion, or host
the log externally and have your list email merely give a URL of the
externally-hosted file]
>
2023 Apr 14
1
[PATCH v6 11/11] vhost: allow userspace to create workers
On Fri, Apr 14, 2023 at 6:36?AM Mike Christie
<michael.christie at oracle.com> wrote:
>
> On 4/12/23 2:56 AM, Jason Wang wrote:
> >> I can spin another patchset with the single ioctl design so we can compare.
> > So I'm fine with this approach. One last question, I see this:
> >
> > /* By default, a device gets one vhost_worker that its virtqueues share.
2019 Aug 29
0
[libvirtd] qemu_process: reset CPU affinity to all enabled CPUs, when runs in custom cpuset
Hello All,
Since 4.5.0-23.el7 version (Red Hat 7.7), when I launch pinned VM,
libvirtd reset CPU affinity to all enabled in host CPUs, if it runs in
custom cpuset.
I can't reproduce this behavior with 4.5.0-10.el7_6.12 with the same
kernel version (Red Hat 7.7).
Libvirt runs in a custom cpuset 'libvirt', where the number of
available cpus is restricted to 0,2,4,6,8.
And this
2001 Jul 30
0
Problem with Wine window focus using FVWM2
Wine version 20010629 running Lotus Notes 5.08
Linux RedHat 7.1 with Xfree86 Version 4 and FVWM2 window manager
When I run this version of Wine with FVWM2 the Wine window always
appears on top ( always obscures other windows). I use a click to focus
window policy and when I click on another window on the desktop it
will not raise it over the Wine window although the window I click on
does receive