[libvirt-users] Attaching an "Internal Address"
by Varun Bhatnagar
Hi,
I am trying to attach an internal address to my domain. So for that I am
defining the following syntax in my xml file:
but it is giving the following error:
Tried giving interface type as network but that is adding Host-only type
interface.
Can anyone please suggest what can be the possible solution. I think it is
some problem with the source network. Do I have to define any internal
network before in any interface?
If yes then how?
Any help will be appreciated.
Thanks in advance.
Regards,
Varun
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
11 years, 8 months
[libvirt-users] Unable to connect to vmchannel on host when the VM is started via libvirt
by Kaiwei Fan
Hi experts,
When I start a VM using "virsh create vm.xml", I'm not able to connect
to the vmchannel from host. The process libvirtd is running as root
(modified qemu.conf to set user/group to root) already. The connect
just hangs there even after the guest VM is up and running. However,
if I start the VM using kvm directly (with same arguments as libvirtd
in `ps auxwww`), the connect to vmchannel goes though after the guest
VM is up and running.
The problem is observed on ubuntu 12.10 (libvirt 0.9.13), but not
ubuntu 12.04 (libvirt 0.9.8). Anyone knows why is this and how to fix
it? Any suggestion is appreciated.
ubuntu 12.10: Linux linux-01 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9
19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
ubuntu 12.04: Linux linux-06 3.2.0-30-generic #48-Ubuntu SMP Fri Aug
24 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Content of vm.xml:
<domain type="kvm">
<uuid>c548c477-af6f-4aee-9e7d-987d6620aa27</uuid>
<name>instance-00</name>
<memory>262144</memory>
<vcpu>1</vcpu>
<os>
<type>hvm</type>
<boot dev="hd"/>
</os>
<features>
<acpi/>
</features>
<clock offset="utc">
<timer name="pit" tickpolicy="delay"/>
<timer name="rtc" tickpolicy="catchup"/>
</clock>
<devices>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none"/>
<source file="/home/user/project/kvm/instance-00/disk"/>
<target bus="virtio" dev="vda"/>
</disk>
<serial type="file">
<source path="/home/user/project/kvm/instance-00/console.log"/>
</serial>
<serial type="pty"/>
<channel type="unix">
<source path="/home/user/project/kvm/instance-00/vmchannel.sock"
mode="bind"/>
<target type="virtio" name="org.qemu.guest_agent.0"/>
</channel>
<graphics type="vnc" port="5900" autoport="no" keymap="en-us"
listen="127.0.0.1"/>
</devices>
</domain>
11 years, 8 months
[libvirt-users] how to use libvirt
by tianwei zhang
Hi everyone:
I am just a new user to libvirt. I installed libvirt as:
./configure
make
sudo make
After that I run the program in the development guide. But it seems that
the program is stuck in the function of virConnectOpenReadOnly. When I
tried the command: virsh list --all, it is also stuck. So could anyone tell
me what's wrong with this?
Thank you so much
Tianwei Zhang
11 years, 8 months
[libvirt-users] openvswitch
by dohri@mailoo.org
Hello
I'm a newbie with libvirt and I would like to know if when I
compile libvirt (0.10 on amd64 debian) I have to specify an option for
the management of openvswitch or if it's integrated in the code?
Thanks
11 years, 8 months
[libvirt-users] Regarding the support of libvirt for shared memory
by achala joshi
Hello All,
I want to use shared memory , but in virsh I am unable to provide
the necessary options for use of shared memory.
I want to have some scripts so that they can be included in the xml file so
that each time the need is of shared memory , it can be directly used from
there only.
Thanks and Regards
11 years, 8 months
[libvirt-users] Regarding Ivshmem support
by Mrugani Kurtadikar
Hi,
I am using virsh 0.9.8 My qemu is 1.0 version.
I would like to use Ivshmem device from virsh command line.
It is possible to use ivshmem device from qemu command line.But its not
working if I am giving -device ivshmem device in xml config file.
Does virsh support ivshmem device.??
--
Mrugani Kurtadikar
Btech IT
College of Engineering, Pune.
11 years, 8 months
[libvirt-users] no connectivity
by Jay Vyas
Hi guys :)
I have a KVM libvirt fedora16 guest running inside of Rhel.
It exhibits no connectivity. I've clicked the "networking->eth0" icon at
the upper right corner of the screen, which appears to work normally.
However, i have no external connectivity (i cant ping google/yahoo etc).
I can ping my host machine, however.
--
Jay Vyas
http://jayunit100.blogspot.com
11 years, 8 months
[libvirt-users] virt-viewer via ssh to a remote host
by Marc Haber
Hi,
I have a virtualization host running KVM and libvirt 0.9.12 (on Debian
unstable). I would like to connect with virt-viewer 0.5.4 from a
different host to a domain that has Display Spice configured as
graphics interface.
I can connect to the KVM host using
virsh --connect=qemu+ssh://mh@fan.local/system
and start m KVM domain from there, so I guess that authentication is
just fine.
However,
virt-viewer --connect=qemu+ssh://mh@fan.local/system <domain>
does not work. The easy issue was that virt viewer issues a "nc
fan.local 5900" on the remote host, while the Display Spice agent
listens on 127.0.0.1 only. I could fix that by checking the "listen on
all IP addresses" box in the Display Spice configuration in
virt-manager. After that, I could see the TCP connection to the Spice
agent on the remote host succeed when tcpdumping on the KVM host's lo
interface.
When I invoke virt-viewer when the domain is not running, it says
"Waiting for the guest domain to start", and changes to "Connecting to
graphic server" when I start the domain. When I invoke virt-viewer
when the domain is already running, it immediately says "Connecting to
graphic server", but the domain's console does never show up.
When I invoke
virt-viewer --connect=qemu:///system <domain>
directly on the KVM host, the console shows up alright.
On the KVM host,
virt-viewer --connect=qemu+ssh:///system <domain>
gives the same behavior as the remote invocation, while
virt-viewer --direct --connect=qemu+ssh:///system <domain>
does. So I guess there is something wrong with the tunneling of the
Spice session through ssh.
Am I doing something wrong? I would appreciate any hints.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062
11 years, 8 months