Displaying 20 results from an estimated 10000 matches similar to: "Hello and a question about QEMU log"
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 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"
2015 Jul 29
2
Custom bios image for qemu
Hello all,
So I am trying to get a qemu guest to use a custom patched seabios image
rather than the default /usr/share/qemu/bios.bin
I have tried changing the domain config file to include either:
<os>
--SNIP--
<loader readonly='yes'
type='rom'>/home/telemin/qemu/seabios_patched.bin</loader>
</os>
OR
domain type='kvm'
2015 Jul 20
2
[Libvirt ] qemu+tls failed to verify peer's certificate
Dell Customer Communication
Hi everyone,
I am trying to do a virsh using TLS Certificate. I am getting an error that "error: authentication failed: Failed to verify peer's certificate"
I am following the steps mentioned in the http://wiki.libvirt.org/page/TLSSetup
I have generated CA Certificate, client certificate and server certificate and placed them as mentioned in above site.
2014 Mar 19
2
Re: Connecting libvirt to manually compiled QEMU
On Wed, Mar 19, 2014 at 05:17:52PM +0500, Asadullah Hussain wrote:
> Guys thanks a lot for taking the time out to reply, Although adding the
> $PATH & symbolic link methods both solved the "No hypervisor found" error
> on virt-manager but when I try to create a VM using the wizard it says:
>
> "No hypervisor options were found for this connection"
>
>
2014 Feb 10
2
Re: libvirt/qemu and cgroups
> The precise answer depends on which version of systemd you have. In
> any systemd host though, systemd should ensure all the filesystems
> are mounted correctly. If you have libvirt >= 1.1.1 and systemd >= 205
> then you can use its "slice" and "scope" concepts to setup grouping
> of VMs. If you have older systemd, then you have to setup groups
>
2015 Apr 27
2
[Libvirt Users]how to provide password authentication for qemu driver
Dell Customer Communication
Hi All,
I am using
Compiled against library: libvirt 1.2.9
Using library: libvirt 1.2.9
Using API: QEMU 1.2.9
Running hypervisor: QEMU 2.1.2
I want user to provide username and password authentication to virConnectPtr
virConnectOpenAuth(const char *name,
virConnectAuthPtr auth,
unsigned int flags) to login remotely for the qemu
2016 Mar 03
2
Configuring default network/storage for qemu:///session
Hi libvirt-user,
If I run (as a normal user):
virsh -c qemu:///session net-list --all
virsh -c qemu:///session pool-list --all
I see a default network and a default pool. And indeed, these appear in
the persistent configuration. It seems these are created the first time
libvirtd is (auto)started in qemu:///session mode. Is it possible to
configure the attributes of the default network and
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:
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
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
2014 Feb 28
2
how to disable vnet_hdr through libvirt
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?
Thanks.
2011 Sep 06
2
Reg: Difference between chroot & pivot_root
Hi,
What is the difference between chroot & pivot_root.
They don't seem obvious based on the man pages apart from the below
mentioned
caveats.
1) Inherited Open file descriptors, have to be explicitly closed.
2) Does not change CWD of the process, which can be overcome by doing a
chdir before & after chroot call.
Any information on this would be useful.
Thanks,
2014 Apr 10
1
Re: Passing non-standard Options through Libvirt to QEMU
There are a couple of problems with passthrough qemu:
1. virsh version/capabilities command executes "qemu -help" but this gives
an error in my case because my customized qemu has to receive mandatory
non-standard parameters "qemu -c -n -- -help".
2. Similarly when passing arguments as passthrough in a VMs XML. How can I
make sure that these non-standard arguments are passed
2014 Nov 11
1
Re: Is there a way to disable libvirt qemu monitor while creating kvm vm using virsh?
Hi Daniel,
Thanks. The debugger program I used is a multi-level debugging tool called StackDB developed in our department. It was developed for Xen initially, and KVM support was only added recently.
I've forwarded your email to the developer and hopefully it should be pretty straightforward to do so.
Best Regards,
Min
On Nov 11, 2014, at 2:32 AM, Daniel P. Berrange
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 26
2
How can I run command in containers on the host?
How can I run command in containers on the host? Just like the lxc command
lxc-attach.
I run :
virsh -c lxc:/// lxc-enter-namespace fedora2 --noseclabel /bin/ls
but get error:
libvirt: error : Expected at least one file descriptor
error: internal error: Child process (14930) unexpected exit status 125
Here is my libvirt.xml
<domain type='lxc'>
<name>fedora2</name>
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