Displaying 20 results from an estimated 10000 matches similar to: "how to disable vnet_hdr through libvirt"
2014 Mar 04
2
Re: how to disable vnet_hdr through libvirt
Thank you Daniel. How difficult to extend libvirt for this? One critical
application on my VM needs to turn vnet_hdr off.
I can switch to use qemu directly. However, in that way I will lose all
the nice things provided by libvirt.
Thanks,
~Jianfeng
On 3/3/14 3:53 AM, "Daniel P. Berrange" <berrange@redhat.com> wrote:
>On Fri, Feb 28, 2014 at 07:11:13PM +0000, Jianfeng Tang
2014 Mar 06
1
Re: how to disable vnet_hdr through libvirt
Daniel P. Berrange <berrange@...> writes:
>
> On Tue, Mar 04, 2014 at 03:56:06PM +0000, Jianfeng Tang wrote:
> > Thank you Daniel. How difficult to extend libvirt for this? One critical
> > application on my VM needs to turn vnet_hdr off.
>
> Can you explain why in more detail. We don't expose this as a configurable
> setting because we don't believe
2014 Mar 03
0
Re: how to disable vnet_hdr through libvirt
On Fri, Feb 28, 2014 at 07:11:13PM +0000, Jianfeng Tang wrote:
> Hi,
>
> I am using libvirt and virsh to create my VM on KVM. It works fine.
> However, I need to turn off vnet_hdr for virtio interface.
>
> Does anyone know how to do it through libvirt?
There's no support for disabling it - if we detect a host which supports
it, it will be unconditionally enabled.
Regards,
2014 Mar 04
0
Re: how to disable vnet_hdr through libvirt
On Tue, Mar 04, 2014 at 03:56:06PM +0000, Jianfeng Tang wrote:
> Thank you Daniel. How difficult to extend libvirt for this? One critical
> application on my VM needs to turn vnet_hdr off.
Can you explain why in more detail. We don't expose this as a configurable
setting because we don't believe there's any compelling reason to disable
it. ie it offers clear performance benefits
2020 Sep 22
2
consuming pre-created tap - with multiqueue
Hello,
On KubeVirt, we are trying to pre-create a tap device, then instruct
libvirt to consume it (via the type=ethernet , managed='no'
attributes).
It works as expected, **unless** when we create a multi-queue tap device.
The difference when creating the tap device is that we set the
multi-queue flag; libvirt throws the following error when consuming
it:
```
LibvirtError(Code=38,
2020 Sep 23
1
Re: consuming pre-created tap - with multiqueue
On Wed, Sep 23, 2020 at 05:44:28PM +0100, Daniel P. Berrangé wrote:
> On Tue, Sep 22, 2020 at 01:48:08PM +0200, Miguel Duarte de Mora Barroso wrote:
> > Hello,
> >
> > On KubeVirt, we are trying to pre-create a tap device, then instruct
> > libvirt to consume it (via the type=ethernet , managed='no'
> > attributes).
> >
> > It works as
2016 May 12
2
Re: Dump network traffic from each VM.
Hi Daniel,
I changed the libvirt code to support "-net dump" because it is
more comfortable to me and to users here.
I don't know if it is interesting to the community, but... most of the
code is ready if someone needs.
Julio Cesar Faracco
2016-05-05 10:34 GMT-03:00 Daniel P. Berrange <berrange@redhat.com>:
> On Wed, May 04, 2016 at 12:37:14PM -0300, Julio Faracco wrote:
2013 Jul 24
2
API to set cpuset.cpu_exclusive flag
Hi all,
I have been trying to set cpu_exclusive flag. Now I can do it using "echo". I want to know is there any other way (an API) to set this flag? Is it possible to set this flag using API?
Thanks.
~Peeyush Gupta
2013 Nov 06
2
virConnectListAllDomains support for PowerVM
Hey guys,
I'm so glad you added the new set of virConnectListAllDomains functions, it
simplifies a lot our work!. I was only wondering why there is no support
for PowerVM. Is it that it hasn't been developed or is there some technical
hardship?
Best,
Camilo Aguilar
2012 Jan 11
1
Unable to close open libvirt connections
Hello,
I was getting the following error in syslog:
libvirtd: 21:19:12.116: 10955: error : qemudDispatchServer:1355 : Too many
active clients (20), dropping connection from 127.0.0.1;0
I investigated a bit and tried the following in a python console:
import libvirt
~~~~
conn=libvirt.openReadOnly("qemu+ssh://HOST_IP/system<http://10.16.71.1/system>
")
//now check the no. of
2014 Mar 31
2
Passing non-standard Options through Libvirt to QEMU
Hello, I have a custom QEMU which requires some non-standard command line
arguments to launch a VM. e.g., "--proc-type=secondary" option is always
required to launch a QEMU VM.
To launch the VM through libvirt (virsh) "How do I specify these
non-standard options in XML?
OR if thats not possible ,Can you guide me at which point (code file)
libvirt converts the XML to QEMU command
2014 Jan 29
2
dropping capabilities in lxc containers
Hi there
I’m not quite proficient with libvirt yet, and have been using it so far primarily to manage lxc containers
I was hoping to find a means to configure the set of capabilities that guests should drop, but came across a few web pages suggesting these were set in stone in the code
is this correct, or is there a means to tweak this set from the host via the xml config or a virsh command ?
2016 Jul 12
2
virt-login-shell: Security model none cannot be entered
Hello!
I am currently experimenting a bit with some of the LXC support under
libvirt, and in trying to utilize the tool virt-login-shell, I encounter
the following error:
[james@lxchost ~]$ virt-login-shell
libvirt: error : argument unsupported: Security model none cannot be
entered
Though it should be apparent from the lack of error, the domain is most
definitely running.
[root@lxchost
2016 May 04
2
Dump network traffic from each VM.
Hi guys,
Does anybody know how to dump the network trafic from each virtual
machine using libvirt?
Here, we usually use VPN softwares and other network tools inside
Virtual Machines (Windows and Linux). Sometimes, this applications
does not work properly, so we need to dump the network traffic of each
Virtual Machine to compare and debug.
How can I enable it using libvirt? I know that if you
2014 Oct 23
2
How can a user process be automatically started after the container is started?
Dear All,
I want to start my application automatically after I start the container with a virsh command " virsh -c lxc:/// start mycontainer"
How can I achieve this?
Thank you in advance.
Cheng
2012 Jun 20
1
getting name or uuid of vm within guest OS
Hi,
for tl;dr people:
how we can get uuid or name of a vm within a guest os?
description:
We are trying to implement a guest-agent for Archipel* to let us
run simple commands on guest os**. in archipel each vm has its
own jid (jabber id), user will open a chat conversation to vm's
jid and send messages like "!exec ls", then we check that user
(jid) who sent !exec has permission to
2014 Sep 12
2
grep ip address from KVM DHCP log
>
Hi,
I plan to use KVM internal network 'default' and grep dhcp log to figure
out the IP address that assigned to my VM.
I know I can configure static ip but I like to assign ip dynamically to
avoid mgmt cost.
Does anyone know where the dhcp log is? My KVM host is running Ubuntu
Raring (13.04). It does not have file /var/log/daemon.log as some online
doc mentioned.
Thanks,
2013 Oct 30
2
libvirt-lxc driver on armv7l
Hi there,
I'm interested in using libvirt-lxc on armv7l architecture and I have a hard
time building libvirt.
1. Are there any prebuild rpms for ARM?
2. I have many dependency issues during build:
error: *** Error Summary ***
=== the following packages failed to build due to missing build dependencies
===
libvirt:
nothing provides hal-devel
nothing provides
2014 Mar 05
2
Re: Connecting libvirt to manually compiled QEMU
On Tue, Mar 04, 2014 at 02:09:19PM -0700, Eric Blake wrote:
> On 03/04/2014 05:12 AM, Asadullah Hussain wrote:
> > Hello I have manually compiled a customized qemu (1.4.0) which runs fine on
> > its own (create VM etc) but I want to access this qemu through libvirt
> > (virt-manager, virsh etc).
> >
> > But the libvirt driver only looks into "/usr/bin"
2013 Nov 07
2
Re: Calling 'virsh' from within a hook script - avoid deadlock?
On 06.11.2013 16:17, Michal Privoznik wrote:
> On 06.11.2013 11:23, TSADOK, Shlomi (Shlomi) wrote:
>> [...]
>
> http://libvirt.org/hooks.html#recursive
>
> Do not do this.
>
> Michal
>
Maybe I should explain a bit why this is not supported. It's true that
libvirt is multithreaded. However, not in terms of multiple write/modify
accesses to a single domain.