Displaying 20 results from an estimated 30000 matches similar to: "UserID Permissions: Virtual Machine Manager vs virsh and Python"
2016 Jan 20
0
Re: UserID Permissions: Virtual Machine Manager vs virsh and Python
On Tue, Jan 19, 2016 at 02:36:02PM -0600, David Ashley wrote:
>I have added a user to the libvirt group on my CentOS 7.2 server and
>that user can successfully access the Virtual Machine Manager without
>authenticating as expected. This allows the user to perform all
>functions in the VMS as if they were root. This is acceptable as this is
>a private server with no outside access so
2016 Feb 19
1
Running Commands on a Domain
All -
I just published a new blog that provides a solution for running
commands on multiple domains. This will enable you to perform the same
or different commands on multiple domains using automation. The solution
uses Python and its libvirt module. The blog is located at
http://www.holmes4.com/wda/blogs/index.html.
I hope to present more of these examples of how to use the libvirt
2019 Feb 21
2
virsh confirmed edits do not persist
This may be user error, I am new to libvirt.
I am using libvirt 5.0.0. I have created a VM (win10) in the system URI
using virt-manager. I stopped the VM to edit it.
I set my LIBVIRT_DEFAULT_URI="qemu:///system" and am able to read the
domain configuration with `EDITOR=nano virsh edit win10`. When I save
(ctrl+o) and exit (ctrl+x) I see the message "Domain win10 XML
configuration
2018 Oct 31
2
Re: How to change the default connection of 'virsh' tool from 'qemu' to 'xen' ?
On Wed, Oct 31, 2018 at 09:32:30AM +0100, Andrea Bolognani wrote:
>On Wed, 2018-10-31 at 10:56 +0900, Minjun Hong wrote:
>> Hi.
>>
>> Thanks to help of this mailing list (especially Jim Fehlig), I have finished setup of libvirt.
>> However, there is something weird. It is that I installed libvirt on 5 servers but
>> the default connection of one of them is
2018 Oct 31
2
How to change the default connection of 'virsh' tool from 'qemu' to 'xen' ?
Hi.
Thanks to help of this mailing list (especially Jim Fehlig), I have
finished setup of libvirt.
However, there is something weird. It is that I installed libvirt on 5
servers but
the default connection of one of them is 'qemu:///' even if those of the
others are all 'xen:///'.
I searched how to change it but, I only found a bypass adding "
2018 Nov 01
1
Re: How to change the default connection of 'virsh' tool from 'qemu' to 'xen' ?
On Thu, 2018-11-01 at 16:40 +0100, Erik Skultety wrote:
> On Wed, Oct 31, 2018 at 05:33:09PM +0100, Martin Kletzander wrote:
> > On Wed, Oct 31, 2018 at 09:32:30AM +0100, Andrea Bolognani wrote:
> > > On Wed, 2018-10-31 at 10:56 +0900, Minjun Hong wrote:
> > > > I searched how to change it but, I only found a bypass adding " LIBVIRT_DEFAULT_URI='xen:///'
2011 Jul 27
1
with current libvirt git virsh expects vbox, refuses kvm define
Okay, just installed libvirt from today's git on two Ubuntu systems. The
first one went fine (except for continuation of the problem that virsh and
virt-manager cannot connect to 0.8.3 systems that's been there in the 0.9.x
libvirts) ... but on the second, after install, "virsh list --all" presents
nothing. And:
# virsh define tu1004.xml
error: Failed to define domain from
2016 May 02
3
Making remote access to qemu://session easier?
This is frustrating:
$ export LIBVIRT_DEFAULT_URI=qemu+ssh://remotehost/session
$ virsh list
error: failed to connect to the hypervisor
error: no valid connection
error: Operation not supported: Connecting to session instance without socket path is not supported by the ssh connection driver
Has there been any thought given to making this easier? It seems that
having a simple helper
2012 Mar 08
1
Setting the default Hypervisor
Hi all,
I'm using libvirt with qemu-kvm and virtualbox on the same system.
Everything is working, but I want to change the default uri fo virsh.
At the moment, if i run:
# virsh uri
vbox:///system
and because of this, if I try to list my vm(s) in this way:
# virsh list --all
Id Name State
----------------------------------
the output is empty. I need always to pass the
2014 Aug 06
2
[help] Does "virsh blockpull" works on live virtual machine
Hi all,
I have a kvm virtual machine running (qemu version 2.0), and I had took several external snapshots of the disk( using "virsh snapshot-create-as"). Now, the existed disk files relationship look like: base <- snap1 <-snap2 <- current using disk file. Now I want to remove snap1 and snap2, and let current disk using the base image file as back file directly. Unfortunately,
2014 Feb 12
1
Re: LXC container driver
On Wed, Feb 12, 2014 at 03:21:18PM +0100, arnaud gaboury wrote:
> I am totally lost in this UID/GID mapping. Maybe all this stuff is
> just beyond my competence.
>
> For now, I am writing a basic mydomain.xml file following these 3 wiki:
> LXC container from libvirt.org[1]
> Linux containers guide from Rad Hat 7[2]
> getting start with lxc from P.Berrange [3]
>
> This
2015 Jul 30
2
libvirt-1.2.17 I can't define lxc container
Hello!
I'd like to set up my first lxc container using libvirt. I'd like to
start using the simplest configuration and next add things I need. So
I've got xml as below:
<domain type='lxc'>
<name>vm1</name>
<memory>32768</memory>
<os>
<type>exe</type>
<init>/init</init>
</os>
2014 Feb 12
2
Re: LXC container driver
>
> NB user namespaces are a fairly new piece of functionality that
> is still somewhat rough around the edges. You usuaully want to
> have the most recent kernel.org stable kernel available when
> using this.
>
Yes, I confirm it is a little bit touchy for me.
gabx@hortensia ➤➤ ~ % uname -a
Linux hortensia 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET
2014 x86_64
2013 Jul 22
2
Libvirt-lxc and systemd question
Warning - I'm fairly new to libvirt, lxc and systemd so there is a good
chance I'm doing something terribly wrong here. However, instead of
continuing to struggle, I figured I would mail the list for some
advice. What I'm trying to accomplish is a libvirt-lxc, systemd-based
container running on my system (Fedora 19). I've read that sharing the
underlying OS filesystem with
2016 Jul 20
1
[PATCH] v2v: make virsh command quiet if v2v is quiet (RHBZ#1358142)
Pass -q to virsh if virt-v2v was run with -q, to reduce its output in
quiet mode.
Unfortunately this does not currently work in virsh as it should, see
RHBZ#1358179, so only after that bug is fixed this change can actually
take effect.
---
v2v/output_libvirt.ml | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/v2v/output_libvirt.ml b/v2v/output_libvirt.ml
2015 Oct 02
1
hvc - hypervisor virtual console & virsh
Hi Fi,
cmdline: console=hvc0 systemd.wants=getty at hvc0
Connect via virt-manager - View / Text Consoles / Text Console no.:
Fedora 24 (Rawhide)
Kernel 4.3.0-0.rc3.git2.4.fc24.x86_64 on an x86_64 (hvc0)
localhost login: root
Last login: Fri Oct 2 17:28:36 on hvc0
# tty
/dev/hvc0
# systemctl status getty at hvc0.service
? getty at hvc0.service - Getty on hvc0
Loaded: loaded
2012 Feb 25
2
Problems running virtual machines after an upgrade
Hi all,
I upgraded qemu-kvm and libvirt to the new versions
qemu-kvm at : 1.0
libvirt at : git version 0.9.10
I lost the original machines but the xml files were are all present (it
is not showing up in virsh list --all)
But when I import an xml I get an error: Attached is some information
which might be helpful
Can someone help please ?
If this is a compatibility issue please can
2014 Aug 06
0
Re: [help] Does "virsh blockpull" works on live virtual machine
On 08/06/2014 06:04 AM, chenyanqiu@keytonecloud.com wrote:
> Hi all,
[please configure your mailer to wrap long lines]
> ...Now I want to remove snap1 and snap2, and let current disk using the
base image file as back file directly. Unfortunately, for some reason, I
can not shutdown the vm, and exectue the "virsh blockpull" command. Can
I execute the "virsh blockpull"
2015 Feb 17
3
Disable/stop nic in a virtual guest with virsh
Hi all,
How can I stop/disable a nic in a virtual guest using a virsh
command?? I am searching the same effect like if I unplug network
cable ... Is it possible?? I have tried with "detach-interface"
command without luck. I don't want to remove the nic from guest
configuration, only to stop the nic ...
Thanks.
P.D: Host is CentOS 6.6 x86_64 fully patched.
2015 Feb 18
3
Disable/stop nic in a virtual guest with virsh
On Tue, Feb 17, 2015 at 1:43 PM, Sven Kieske <s.kieske at mittwald.de> wrote:
>
>
> On 17/02/15 09:18, C. L. Martinez wrote:
>> Hi all,
>>
>> How can I stop/disable a nic in a virtual guest using a virsh
>> command?? I am searching the same effect like if I unplug network
>> cable ... Is it possible?? I have tried with "detach-interface"