Displaying 20 results from an estimated 20000 matches similar to: "XML file location"
2011 Jul 02
2
Associating a statefile with an image
Hi ,
I am trying to perform offline migration (i.e) Create an incremental image using the qcow format, transfer the vm memory state to a state fie.Use the image and statefile together as a template. Now create a new vm using the template. I can successfully do it using the following commands :
Save phase :
stop
migrate "exec:gzip -c > STATEFILE.gz"
qemu-img
qemu-img create -b
2011 Sep 26
1
virsh edit problems
I've got a problem where I can't access my console (well, I can',
but I can't type in a password), which I don't think is a libvirt
issue but any help or commentary is certainly welcome
http://thread.gmane.org/gmane.comp.emulators.kvm.devel/79561 , and
I'm trying to debug it by trying out different console/serial
options in my .xml file, and I can't change them.
What I
2014 Aug 06
2
Re: username and passwd after create VM from XML dump
On Wed, Aug 6, 2014 at 1:29 PM, Eric Blake <eblake@redhat.com> wrote:
> On 08/06/2014 11:11 AM, Yuanzhen Gu wrote:
>
> >> Libvirt is only concerned with what virtual hardware you present to the
> >>
> >> guest, not with the OS running in that guest or what username/password
> >>
> >> combinations will let you log into that guest OS.
2014 Aug 06
2
Re: username and passwd after create VM from XML dump
On Tue, Aug 5, 2014 at 6:33 PM, Eric Blake <eblake@redhat.com> wrote:
> On 08/05/2014 03:02 PM, Yuanzhen Gu wrote:
> > Good afternoon guys,
> >
> > I created the VM from XML dump,
> > # virsh create vm4.xml
> >
> > and # virsh list I can see the VM running,
> > and I know the ip address for the VM,
> >
> > but how can I know the
2011 Sep 26
1
changue bridge name, libvirt refuses to take new name
hi all,
(this events ocurred before my previous mail about the uuid incident)
so, I installed a vm
host: rhel6
guest: centos6
network: bridge (br0, eth1 as slave)
but then, I changed the name of the bridge from br0 to br1
(because br1<->eth1 seems pretty than br0<->eth1)
so:
- mv /etc/sysconfig/network-scripts/ifcfg-br0
/etc/sysconfig/network-scripts/ifcfg-br1
- edited
2011 Oct 07
2
Libvirt newbie, need help with doubts
Hi,
These are my doubts:
1. I tried live migration of Ubuntu 11.04 from the one physical machine to
another using the migrate() function. I connected via tcp in the destination
URI and migrated successfully(lesser than 2 seconds). I tried running virsh
list --all on the destination PM and confirmed that the VM had been migrated
successfully.
When I tried checking ps aux | grep vmname where
2011 Oct 26
2
virsh start VM failed
Dear,
I encountered some problems when I used the virsh to start my virtual
machines. I had tried some ways but I still couldn't solve it.
Please help me, thanks.
error messages :
virsh # start controlnode
error: Failed to start domain controlnode
error: internal error process exited while connecting to monitor:
bind(unix:/var/lib/libvirt/qemu/controlnode.monitor): Permission denied
2012 Jun 06
2
The default location of vm snapshots
Hi all,
Where could I find the memory dump and disk snapshots for vm after command "virsh snapshot-create <some_running_vm>"? Thanks in advance.
I found the xml files in /var/lib/libvirt/qemu/snapshot/, but hava no idea about the raw snapshot file.
Thanks,
Lei
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Jul 18
1
cannot perform tunnelled migration without using peer2peer flag
Dear All
I try to migration a kvm guest os to another host failed
server: ubuntu 11.04 server
virsh:migrate --live --tunnelled vm1 qemu+ssh://192.168.10.3/system
error:Requested operation is not valid:cannot perform
tunnelled migration without using peer2peer flag
2011 Oct 24
1
Hard limit for the cpu usage of a VM
Hi ,
I was previously using xen and currently moved to KVM. I am using libvirt to manage these VMs. In den's credit scheduler , I had the ability to set a cap on the cpu usage for a VM. But I was not able to find a similar substitute in KVM. I find that we can use cgroups to provide shares for VM but that will be more like weight based and it doesn't set a hard cap for that VM. I tried
2014 Oct 29
1
Can't specify filename.xml when using virsh dumpxml
Hi all,
Do you have any idea about this error?
virsh # dumpxml csg01win7test > domain.xml
error: unexpected data '>'
Regards,
Allen
2014-10-28
Allen Qiu
2011 Sep 26
2
how to convert from xen .cfg files to libvirt xml?
I have a .cfg configuration file for a xen virtual machine.
I need to convert it in xml format to use with libvirt.
So I run virsh domxml-from-native xen-xm backupsrv.cfg but I have an error:
error: Unknown failure.
How can I investigate about the error?
2011 Oct 12
1
XML file format for snapshot-create
I've created a very basic snapshot XML file, to allow for a description of
the snapshot. However when running the virsh command, it doesn't like the
formatting.
# virsh snapshot-create proxy_0 /vmstore/proxy_0/proxy_0_ss.xml
error: XML description for failed to parse snapshot xml document is not well
formed or invalid
This are the XML file contents...
# cat proxy_0_ss.xml
2011 Sep 27
2
Snapshot Error
Hey
When I want to take a snapshot for a Domain by using
virDomainSnapshotCreateXML. The Error as below happen:
libvir: QEMU error : Requested operation is not valid: Disk
'/var/lib/libvirt/images/fedora-qcow.qcow2' does not support snapshotting
The snapshot Configuration is :
<domainsnapshot>
<description>Snapshot of OS install and updates</description>
2014 Feb 05
4
Re: Can I move the disk image of the guest while it is running?
Thank you Eric,
On 2014-02-05 17:23, Eric Blake wrote:
> Yes, live storage migration is possible; although at the moment, qemu is
> lacking a way to restart the operation if it fails midstream, so libvirt
> only allows the operation if you are willing to temporarily make your
> guest transient.
What does this mean? Will I loose anything if - for example - there is
not enough space on
2014 Aug 05
2
username and passwd after create VM from XML dump
Good afternoon guys,
I created the VM from XML dump,
# virsh create vm4.xml
and # virsh list I can see the VM running,
and I know the ip address for the VM,
but how can I know the username and password to login the running VM, which
is created from XML dump? is there any place to edit and add the username
and password in guest domain XML ? thanks a lot!!
Best,
Yuanzhen
2015 Apr 14
2
Update on-disk XML after virsh snapshot-create-as
Hello,
I am using "virsh snapshot-create-as" to create external snapshots of running
VMs using libvirt 1.0.2 on Ubuntu 12.04 and libvirt 1.2.2 on Ubuntu 14.04. This
works well for creating the snapshots, but I notice that the on-disk XML file
in /etc/libvirt/qemu is not updated with the new disk image file after the
snapshot is created. This appears to be very similar to
2014 Aug 21
2
Re: virsh snapshot
----- Original Message -----
From: "Eric Blake" <eblake@redhat.com>
To: "Adam King" <kinga@sghs.org.uk>, libvirt-users@redhat.com
Sent: Thursday, August 21, 2014 3:17:09 AM
Subject: Re: [libvirt-users] virsh snapshot
On 08/20/2014 06:34 PM, Adam King wrote:
> Hi,
>
[Can you convince your mailer to wrap long lines?]
>
> I had a 'domain' called
2015 Apr 30
2
Re: unable to edit existing snapshot
Sorry for the lack of information, my bad.
The snapshot is an internal one and the machine is running.
The whole thing was set-up by another person and left to me to cope with.
The typo is mine, as the machine is isolated I cannot actually copy-paste
it so have to do it in the traditional way.
I am aware of the issue which come when changing HW but I couldn't do
otherwise.
I am only
2012 Apr 26
2
Is there a way for telling libvirt to auto define an xml under /etc/libvirt/qemu?
Hi everybody,
like in the subject: is there a way for telling libvirt to auto define
an xml under /etc/libvirt/qemu? I mean, sometimes it happens to have the
/etc/libvirt/qemu shared between nodes, say with a NFS share, since I
can set a new xml on a node and I want o see the virtual machine on all
the others, is there a way to automate this or am I obligated to launch
virsh define <xml> on