Displaying 17 results from an estimated 17 matches for "itxx00".
2013 Jun 26
2
Re: snapshot-create-as for a single disk not all disks
try snapshot-create-as like below:
virsh snapshot-create-as vm --disk-only --diskspec "vda,snapshot=external"
2013/6/25 cmcc.dylan <dx10years@126.com>
>
> Hi, everyone,
> I have found the API snapshotCreateXML() can create a snapshot for a
> virtual machine, and the xml configuration file - snapshot.xml as folllows:
> <domainsnapshot>
>
2013 Jun 14
2
Enabling route_localnet on private network
I have an issue setting a persistent kernel option on a libvirt net device since that device does not exist early enough during the boot of the KVM host.
I am using the 127.0.0.0 local net for cluster communication between the KVM host and its guests as well as between KVM guests. In order to use addresses on the 127.0.0.0/8 network, which is reserved for local communication, two configuration
2014 Jan 15
2
Re: How to update filterref of a vm on the fly?
>
> No, I don't believe we have a way to update the parameters.
>
> Hi, Daniel :-), it would be very nice if there is a way to update
filterref , :-)
thanks.
2013 Jun 26
0
Re: snapshot-create-as for a single disk not all disks
...chine and create snapshots for all of them. In my case, I want to create snapshot for root disk.
What's more. I understand "--diskspec" is a description of the disk. Do you mean it's used to specify a single disk to snapshot.
在 2013-06-26 09:10:31,"Gao Yongwei" <itxx00@gmail.com> 写道:
try snapshot-create-as like below:
virsh snapshot-create-as vm --disk-only --diskspec "vda,snapshot=external"
2013/6/25 cmcc.dylan <dx10years@126.com>
Hi, everyone,
I have found the API snapshotCreateXML() can create a snapshot for a virtual machine, and t...
2012 Jun 15
1
unsupported configuration: Reboot is not supported with this QEMU binary
Hello,
when i use virsh to reboot a guest,it report a "unsupported
configuration: Reboot is not supported with this QEMU binary" error .
my libvirt version 0.9.10 and i've tried 0.9.11/12 ,the debug info is
in the attachment libvirtd.log,
virsh # version --daemon
Compiled against library: libvir 0.9.10
Using library: libvir 0.9.10
Using API: QEMU 0.9.10
Running hypervisor: QEMU
2012 Nov 01
0
libvirt-users Digest, Vol 34, Issue 35
2012/10/31 Chandana De Silva <chandana at desilva.id.au>
> You _can_ do NAT.
>
> Set up a different libvirt network on each machine, like this;
> 10.128.80.65 will have a libvirt network 192.168.65.0/24
> 10.128.80.66 will have a libvirt network 192.168.66.0/24
>
> Set up each of these networks as routed networks.
>
> Now set up routing/iptables rules on each
2013 Jun 15
0
Re: Enabling route_localnet on private network
My question is where can I add the command "/sbin/sysctl -w
> net.ipv4.conf.pvt0.route_localnet=1" to the start-up files so the command
> is run after the libvirt device pvt0 has been autostarted?
>
Does libvirt hooks can do this ?http://libvirt.org/hooks.html
2013 Oct 02
1
Re: Bringing up a guest with network disabled
2013/10/2 Jorge Fábregas <jorge.fabregas@gmail.com>
> On 10/01/2013 09:29 AM, James Gibbon wrote:
> > Would be grateful if someone could suggest a way to disable the
> networking in the
> > cloned VM within the XML, if that's possible.
>
> I have no idea if it's possible to "disable" the NIC on the VM
> definition but you could boot into
2014 Jan 13
2
Re: Best practice for custom iptables rules
> ...also, it appears that the hook script /etc/libvirt/hooks/daemon to be
> called when the libvirt daemon is started is actually called _before_
> libvirt adds its own iptables rules, because I am not able to insert my
> custom rule at the top of the chain.
>
how about this daemon hook script?
#!/bin/bash
#
insert_rule() {
sleep 2
iptables -t nat -D CUSTOM_RULE
2014 Jan 15
2
How to update filterref of a vm on the fly?
Hello,
I defined a vm with filterref like:
<filterref filter='clean-traffic'>
<parameter name='IP' value='192.168.1.161'/>
</filterref>
and now I need to add another IP parameter for this vm,is there any way to
achieve this?
thanks.
2014 Jan 15
2
Re: how to detect if qemu supports live disk snapshot
>
>
> >
> > So, if I'm not mistaken, looks like the only way to test for the support
> in QEMU is to actually
> > request a snapshot and see what happens.
> > Is this right?
>
> Unfortunately true for the moment.
>
Hi, does this command can help with you?
virsh qemu-monitor-command vmname --hmp 'help' | grep snapshot_blkdev
2014 Jan 13
1
Re: Best practice for custom iptables rules
> Thanks, I already tried inserting a delay with "sleep" but it didn't
> change anything, as the hook script is not processed in parallel with other
> operations: libvirt waits until the hook script has been completed, before
> proceeding with the creation of its own iptables rules.
plz take a closer look at my script, and have a real try with it.
2012 May 28
3
some problem with snapshot by libvirt
Hi,all,i am using libvirt to manage my vm,in these days i am testing
the libvirt snapshot ,but meet some problem:
the snapshot was created from this command:
snapshot-create-as win7 --disk-only --diskspec
vda,snapshot=external --diskspec hda,snapshot=no
but when i tried to revert from the snapshot which created from the
above command ,i got error below:
virsh # snapshot-revert win7
2012 Jul 23
1
INTERNAL ERROR:can not attach network interface for vm
hello,i got a error message when use virsh attach-interface for a vm:
first, list the vm's interface,there's no interface now.
virsh # domiflist ubuntum-124
Interface Type Source Model MAC
-------------------------------------------------------
then,i did an attach-interface action:
virsh # attach-interface ubuntum-124 bridge br0 --persistent
Interface attached
2012 Jun 04
1
guestfish1.7.17 does not support qemu-kvm1.0.93?
Hi,all,i build qemu-kvm1.0.93 from source code on centos6.2 ,
# qemu-system-x86_64 --version
QEMU emulator version 1.0.93 (qemu-kvm-devel), Copyright (c) 2003-2008
Fabrice Bellard
and the guestfish's version:
# guestfish --version
guestfish 1.7.17
but when i use the guestfish command to upload a file to a vm,it does not work ,
# guestfish --rw -i -d centosvm upload /test/ifcfg-eth0_centos
2012 Jun 08
1
virsh: migration job: unexpectedly failed
Hi,I am use virsh and test the migration command,
on server.example.com:
# rpm -qa|grep libvirt
libvirt-0.9.10-21.el6.x86_64
libvirt-python-0.9.10-21.el6.x86_64
libvirt-client-0.9.10-21.el6.x86_64
# virsh version
Compiled against library: libvir 0.9.10
Using library: libvir 0.9.10
Using API: QEMU 0.9.10
Running hypervisor: QEMU 0.14.1
#cat /etc/libvirt/libvirt.conf
uri_aliases = [
2012 Aug 16
0
error: virsh not could create bridge interface
hello,
virsh iface-bridge to build bridge interface does not work for me,i've
searched in google but got nothing ,please give some help,thanks.
# VIRSH_DEBUG=0 VIRSH_LOG_FILE=bridge.log virsh iface-bridge eth0 br0
iface-bridge: found option <interface>: eth0
iface-bridge: <interface> trying as interface NAME
libvir: Interface error : Interface not found: couldn't find