[libvirt-users] CPU Flags libvirt 0.9.12
by Michael Beham
Hi,
I?m using libvirt version 0.9.12 under Debian Squeeze with and AMD
Opteron 4280. Executing the virsh capabilities command only show me the
following flags:
<cpu>
<arch>x86_64</arch>
<model>Opteron_G4</model>
<vendor>AMD</vendor>
<topology sockets='1' cores='8' threads='2'/>
<feature name='nodeid_msr'/>
<feature name='wdt'/>
<feature name='skinit'/>
<feature name='ibs'/>
<feature name='osvw'/>
<feature name='cr8legacy'/>
<feature name='extapic'/>
<feature name='cmp_legacy'/>
<feature name='fxsr_opt'/>
<feature name='mmxext'/>
<feature name='osxsave'/>
<feature name='monitor'/>
<feature name='ht'/>
<feature name='vme'/>
</cpu>
Should not there be more flags supported by the CPU, for example the
SVM-Flag for virtualization because executing cat /proc/cpuinfo gives me
quite a lot of more flags and also the SVM Flag.
Cheers,
Mike
12 years, 3 months
[libvirt-users] Unable to load library 'virt'
by zhijun liu
Hi,all
now ,an old problem I really cann't resolved ,in my window7(64bit) use
libvirt-0.4.7.jar to conn server
System.setProperty("jna.library.path", "D:/Program Files/Libvirt/bin");
conn = new Connect("qemu+tcp://192.168.1.106/system",true);
the exception is Exception in thread "main"
java.lang.UnsatisfiedLinkError: Unable to load library 'virt': ÕҲ»µ½ָ¶¨
PS:in cmd line i want to connect sever is no problem ,like this: virsh -c
qemu+tcp://192.168.1.106/system, it's ok
thanks in advance!!!
12 years, 3 months
Re: [libvirt-users] Excluding RAW disk from snapshot
by Trey Dockendorf
On Thu, Aug 2, 2012 at 11:58 AM, Eric Blake <eblake(a)redhat.com> wrote:
> On 08/02/2012 10:53 AM, Trey Dockendorf wrote:
>
> Did you mean for this to go to the list? Others might benefit from the
> answer.
>
>>>>
>>>> <domainsnapshot>
>>>> <name>20120802</name>
>>>> <description>oVirt 3.1 upgrade</description>
>>>> <disks>
>>>> <disk name='vda' snapshot='yes' />
>>>> <disk name='vdb' snapshot='no' />
>>>> </disks>
>>>> </domainsnapshot>
>>>>
>>>> When I try the snapshot I get this error...
>>>>
>
>> Here's the new XML
>>
>> <domainsnapshot>
>> <name>20120802</name>
>> <description>oVirt 3.1 upgrade</description>
>> <disks>
>> <disk name='vdb' snapshot='no' />
>> </disks>
>> </domainsnapshot>
>>
>
> Ah, right - snapshot is a tri-state: 'no', 'internal', and 'external',
> so 'yes' is not a valid state (although currently only 2 of the 3 states
> are supported for qemu: 'no' and 'external').
>
>> Now I get this error
>>
>>
>> # virsh snapshot-create --disk-only dc-vmarchitect dc-vmarchitect_ss.xml
>> error: operation failed: Failed to take snapshot: unknown command:
>> 'snapshot_blkdev'
>
> That's a sign of your qemu being too old to support disk snapshots
> (older qemu only supports system checkpoint internal snapshots).
>
>>
>> I do not know if this could be an issue, but after this wasn't working
>> with libvirt-0.9.4, I did "yum update qemu-img qemu-kvm libvirt" and
>> am now at the versions listed in previous email. I did not do a full
>> system upgrade or reboot as this is a heavily loaded production
>> system. Is this the case where the VM is running as the previous
>> version of qemu-kvm ?
>>
>> Thanks
>> - Trey
>>
>
> --
> Eric Blake eblake(a)redhat.com +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
Replying back to list, accidently missed reply-all.
Could it be the case that since I upgraded libvirt and qemu while all
the VMs were running, that the VM has to be restarted to take on the
updated version's capability?
If this isn't something yet supported in EL6.3, which I hope it is, is
there any other way to perform a snapshot and exclude a disk aside
from temporarily detaching it from the VM?
Thanks
- Trey
12 years, 3 months
[libvirt-users] How to connect to local hpyervisor by libvirt?
by 何鑫
Hi libvirt team, I suffered some troubles. Could you please give me some advices? Our team plan to control more then 100 android emulators, however, we failed
to connect to the local android emulators by libvirt. Now we have tested 2 ways.
1. Converting from QEMU args to domain XML. It's a right way to
control the local QEMU built manually. But the android emulator based
on QEMU modified its command a lot, so we cancelled the way.
2. Using libvirt hypervisor driver for QEMU. Actually we think the URI
---"qemu+tcp://127.0.0.1:5555/system"(the IP and port is given by android emulator) -- is theoretically available, also, we could connect to the IP successfully by socket's program, but the result is "error: server closed connection: error: failed to connect to the hypervisor". We don't figure the reason out now. Concerning about such problmes above, I have some questions? 1.Can the libvirt connect to local hypervisors by "qemu+tcp" as described above? 2.If we can't do by "qemu+tcp", could you please give us some suggestoins? Thanks a lot!
12 years, 3 months
[libvirt-users] Excluding RAW disk from snapshot
by Trey Dockendorf
I have an oVirt engine node that currently runs the system on a qcow2
based virtual disk, and an NFS export volume on RAW. I'd like to take
a snapshot before a somewhat risky upgrade of oVirt and can't with the
raw image attached.
Looking at the documentation for the snapshot XML, I created this XML
file for the snapshot
<domainsnapshot>
<name>20120802</name>
<description>oVirt 3.1 upgrade</description>
<disks>
<disk name='vda' snapshot='yes' />
<disk name='vdb' snapshot='no' />
</disks>
</domainsnapshot>
When I try the snapshot I get this error...
# virsh snapshot-create dc-vmarchitect dc-vmarchitect_ss.xml
error: argument unsupported: unable to handle disk requests in snapshot
This occurred on both libvirt-0.9.4 and after an upgrade to libvirt-0.9.10
Current system is CentOS 6.2 with 6.3 versions of qemu/libvirt
qemu-kvm-0.12.1.2-2.295.el6_3.1.x86_64
qemu-img-0.12.1.2-2.295.el6_3.1.x86_64
libvirt-client-0.9.10-21.el6_3.3.x86_64
libvirt-python-0.9.10-21.el6_3.3.x86_64
libvirt-0.9.10-21.el6_3.3.x86_64
According to the documentation,
http://libvirt.org/formatsnapshot.html, the disk features should be
available since 0.9.5. Is this still missing or have I created an
invalid XML?
Thanks
- Trey
12 years, 3 months
[libvirt-users] libvirt windows error
by zhijun liu
hi,all,I install the libvirt windows version ,now i type "virsh" in cmd
env:windows7 (ip:192.168.0.15)
the error is :
info : libvirt version: 0.8.8
error : vboxLookupVersionInRegistry:401 : Could not parse version number
from '%VER%'
what's problem.thanks advance!!!
12 years, 3 months