[libvirt-users] Clock Sources under RHEL/Centos 5.x with KVM and libvirt
by Steven Ellis
I'm wondering under what circumstances the kvm-clock source is exposed to a guest.
I've got a bunch of KVM servers running Centos 5.5 and some of the guests have are defaulting to jiffies or apic whilst some are picking up kvm-clock. These guests are a mix of 32bit and 64bit Centos 5.5.
Looking at the virtual machine definition file there doesn't appear to be a difference between the guests with kvm-clock and those without.
Any where else to look, or what configuration will expose kvm-clock to a guest.
Steve
--
Steven Ellis - Bulletin.Net Inc - http://www.bulletin.net
14 years, 1 month
[libvirt-users] Unable to change guest vnc port in libvirt
by mmv@eholod.ru
Hi all!
I set in XML
<graphics type='vnc' port='5901'/>
But Libvirt assign first free port from 5900 and take 5900. Anb block
access to host console vnc (tightvnc-server-module).
Console access need not frequently. I do
# service libvirt-guests stop;killall Xorg; service libvirt-guests start
But it dirty hack
Im use Fedora 13
# env LANG=en_US virsh version
Compiled against library: libvir 0.8.2
Using library: libvir 0.8.2
Using API: QEMU 0.8.2
Running hypervisor: QEMU 0.12.5
I prefer possiblity to define for libvirt different base port for
|autoport|. 5910 for example.
Somebody know solution?
14 years, 1 month
[libvirt-users] Dormant state
by Paul Oldfield
Is there an easy way to get a virtual server into the dormant state
without waiting?
QEMU command or libvirt cim call?
Paul Oldfield
3605 Hwy 52 North
Rochester MN, 55901
Tel: 507 253 1750
TieLine: 553-1750
14 years, 1 month
[libvirt-users] Question on CPU pinning in Python
by Stanley, Jon [Tech]
Looking at the python API, once I have a domain object I can call domain.pinVcpu to pin a specific vcpu to a physical CPU. I found http://www.mail-archive.com/libvir-list@redhat.com/msg04562.html which mentioned some changes to the C API in the Python implementation, and was wondering if my understanding is correct.
Say that I have a host system with 16 logical CPU's, 0-15. If I wanted to pin vcpu1 of a domain to CPUs 2 and 4, I would pass:
domain.pinVcpu(1, (False, False, True, False, True, False....[and so on til I have 16 things]))
In other words, pinVcpu accepts as arguments the vCPU that I wish to act on, and a 16 (or however many CPU's are present on the host) item tuple of True/False values, in the same order as the CPU's I wish to mask (for example, item 0 of the tuple represents CPU0), True meaning that the vCPU thread is allowed to run there, and False meaning that it is not.
Just looking to confirm that my understanding of this call is correct.
Thanks!
-Jon
14 years, 1 month
[libvirt-users] libvirt support for sheepdog file system
by Narendra Prasad Madanapalli
Hi Everyone,
I am planning to extend libvirt to support sheepdog for qemu/kvm and
found that storage code is placed in src/storage. Storing files in
sheepdog is independent of file system and we just need to specify
vm-name on qemu command ine. Here are the following comands used for
creating and running a VM using qemu
qemu-img create sheepdog:MyImage001 25G
qemu-system-x86_64 sheepdog:MyImage001
I would appreciate if any one provide pointers on incorporating
sheepdog functionality to libvirt.
Thanks,
Narendra.
14 years, 1 month
Re: [libvirt-users] access VMX config on esxi with virsh
by frank dirks
Hi,
you are right - the problem is specific to only that one vmx file - for other virtual machines dumpxml is working, as i found out.
i am using esxi 4.1.0 and virsh 0.8.4. the machine was created using vsphere client, and was cloned and renamed afterwards - maybe that was the problem ...
regards, frank
>
> Hm, that's strange. The .vmx config seems to be malformed.
>
> What libvirt version and what ESXi version do you use?
>
> How did you create the vmtest.local guest and can you start it?
>
> Could you show us the original .vmx config file? You can get if by
> opening https://esx1.local/folder/ in a web browser and clicking
> through the directory tree until you get to vmtest.local.vmx.
>
> Matthias
--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
14 years, 1 month
[libvirt-users] Configuring libvirt for one driver and XMLRPC issues
by Jonathan Kelley
Hello,
I am trying to run ./configure --with-one --with-esx but I get the following
error:
checking pkg-config is at least version 0.9.0... yes
checking for XMLRPC... no
configure: error: You must install XMLRPC-C >= 1.14.0 to compile libvirt ONE
driver
However I have downloaded xmlrpc-c-client and built from sources version
1.16.31
root@sa251:~/libvirt-0.8.4# xmlrpc-c-config --version
1.16.31
root@sa251:~/libvirt-0.8.4# xmlrpc-c-config --features
c++ abyss-server curl-client
What am I missing here?
Thanks,
Jon
14 years, 1 month
Re: [libvirt-users] Booting "real" windows
by Premysl Vohnout
And is there any virtualization technology supported by libvirt which
will allow it?
Dne 21.9.2010 17:40, E.T. Anderson napsal(a):
> It /might/ be technically possible to boot the system, but I'd expect
> it to blue-screen on you. KVM would present slightly different
> hardware to the Windows system and Windows customizes itself for your
> hardware on install and can't change much.
>
> It /is/ possible to install a VM to a physical partition, but you
> would have to reinstall Windows as a virtual machine. You then would
> have your current problem in reverse and would only be able to boot
> the partition virtually.
>
> On Tue, Sep 21, 2010 at 7:29 AM, Premysl Vohnout <vohnout(a)ccss.cz
> <mailto:vohnout@ccss.cz>> wrote:
>
> Hi all,
> is it possible to boot using libvirt + kvm real installation of
> windows 7? I have dual boot sda1 - windows, sda2-linux and I want
> to boot this sda1
>
> cheers,
> Premysl Vohnout
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users(a)redhat.com <mailto:libvirt-users@redhat.com>
> https://www.redhat.com/mailman/listinfo/libvirt-users
>
>
>
>
> --
> *E.T. Anderson*
> firebringer11(a)gmail.com <mailto:firebringer11@gmail.com>
> firebringer11(a)hotmail.com <mailto:firebringer11@hotmail.com>
> (253) 347 - 5903
14 years, 1 month
[libvirt-users] correction
by Glynn D. Reynolds
I have corrected the error!
Error:
Sep 18 13:53:46 gdrenterprise libvirtd: 13:53:46.116: error :
virInterfaceDefParseMtu:141 : XML description for interface mtu value is
improper is not well formed or invalid
To correct this error you will have to remove or correct the entry of
virtual IP's added to /etc/sysconfig/network-scripts/ by the virtual
application.
Theory!
I suspect that if you add the network interface with application that
have non root privileges or you have configured /etc/access.conf.
In additional to running selinix, root could be the one that may have
the authority to add the network interface configuration.
--
Glynn D. Reynolds <glynnreynolds123(a)gmail.com>
GDRENTERPRISE
14 years, 1 month