Displaying 20 results from an estimated 600 matches similar to: "Convincing libvirt to create a bridge device?"
2018 Oct 09
3
Serial ports: vm vs bare metal
I'm running libvirt under Fedora 28. I would like to attach a USB
device to a VM, but when I select "Redirect USB Device" from the
"Virtual Machine" menu in virt-manager and then select the device, I
get the error:
USB redirection error
spice-client-error-quark: Could not redirect [device name] at 1-11:
Error setting USB device node ACL: 'Not authorized' (0)
2016 Mar 04
2
Re: Why are virsh vol-upload/vol-download so slow?
On Fri, Mar 04, 2016 at 04:57:30PM +0000, Daniel P. Berrange wrote:
> What version of libvirt ? We had an unfortunate implementation mistake
> which caused us to waste tonnes of time in memmove(). versions since
> 1.2.19 have a fix that addresses it
Ah, this is on F23, which has:
libvirt-1.2.18.2-2.fc23.x86_64
There's nothing more recent right now in either updates or
2016 Mar 04
2
Why are virsh vol-upload/vol-download so slow?
I was interested in using 'virsh vol-upload' and 'virsh vol-download',
rather than mucking about directly with the filesystem. But while
simply copying the image is relatively quick:
# ls -l /var/lib/libvirt/images/centos-7-cloud.qcow2
-rw-r--r--. 1 qemu qemu 1004994560 Apr 15 2015 centos-7-cloud.qcow2
# time cp /var/lib/libvirt/images/centos-7-cloud.qcow2
2023 Jun 12
2
virsh not connecting to libvertd ?
Just found my issue.
After I removed the cephfs mounts it worked!
I will debug ceph.
I assumed because I could touch files on mounted cephfs it was working.
Now virsh list works!
thanks
jerry
Lars Kellogg-Stedman
> On Tue, Jun 06, 2023 at 04:56:38PM -0400, Jerry Buburuz wrote:
>> Recently both virsh stopped talking to the libvirtd. Both stopped within
>> a
>> few days of
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
2015 Dec 04
2
virsh attach device equivalent in libvirt API
Hi,
Is there an equivalent of "virsh attach-device -live -persistent " within libvirt API :
virDomainAttachDevice() or virDomainAttachDeviceFlags() or ???
Thanks for help.
Regards,
J.P. Ribeauville
P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com>
http://www.axway.com<http://www.axway.com/>
P
2015 Apr 30
3
Limitations of macvtap devices?
I am running OpenStack inside a libvirt guest that is connected to the
local network via a macvtap interface. My experience so far suggests
that a macvtap interface will not pass traffic with a source MAC
address other than the MAC address of the interface itself...for
example, if inside the guest eth0 is attached to a bridge.
Is that correct, or is there some setting that will make that work?
2016 Mar 04
1
Re: Why are virsh vol-upload/vol-download so slow?
On Fri, Mar 04, 2016 at 05:21:27PM +0000, Daniel P. Berrange wrote:
> You can checkout virt-preview if you want to try out newer versions
>
> https://fedorapeople.org/groups/virt/virt-preview/
Well, that certainly solves my problem with vol-download :). Do you
know if that fix is likely to show up in EL7?
--
Lars Kellogg-Stedman <lars@redhat.com> | larsks @
2016 Mar 10
1
Buggy 1.3.2? Disconnected from qemu:///session due to I/O error
I think I've hit the same problem that Predrag reported in
http://comments.gmane.org/gmane.comp.emulators.libvirt.user/8825.
With libvirt-1.3.2-1.fc23.x86_64 on Fedora 23, when I try uploading an
image with vol-upload to a user libvirtd (qemu:///session):
virsh vol-upload --pool default volume.qcow /path/to/file.qcow2
I am getting:
error: Disconnected from qemu:///session due to
2019 Mar 04
1
How do I close a console connection?
I'm working on (re-) implementing serial console support in virtualbmc
[1], and one of the issues I'm hitting right now is that after
establishing a console connection via...
self._stream = self._conn.newStream(libvirt.VIR_STREAM_NONBLOCK)
self._domain.openConsole(None, self._stream, 0)
...I can't figure out how to close the console. Subsequent calls to
openConsole fail
2018 Oct 10
1
Re: [Spice-devel] usbredir error: Error setting USB device node ACL: 'Not authorized'
Hey,
On Wed, Oct 10, 2018 at 09:57:39AM -0400, Cole Robinson wrote:
> On 10/09/2018 04:42 PM, Lars Kellogg-Stedman wrote:
> > I'm running libvirt under Fedora 28. I would like to attach a USB
> > device to a VM, but when I select "Redirect USB Device" from the
> > "Virtual Machine" menu in virt-manager and then select the device, I
> > get the
2015 May 01
1
Re: Limitations of macvtap devices?
On 04/30/2015 11:18 AM, Laine Stump wrote:
> On 04/30/2015 10:26 AM, Lars Kellogg-Stedman wrote:
>> I am running OpenStack inside a libvirt guest that is connected to the
>> local network via a macvtap interface. My experience so far suggests
>> that a macvtap interface will not pass traffic with a source MAC
>> address other than the MAC address of the interface
2016 Mar 07
0
Re: Convincing libvirt to create a bridge device?
On 03/06/2016 03:21 PM, Lars Kellogg-Stedman wrote:
> I was hoping that I could delegate creation of bridge devices to
> libvirt for address-less bridges, in order to not have to deal with
> the various ways distributions handle persistent network
> configuration, but while this creates a libvirt network...
>
> <network>
> <name>provision</name>
>
2015 Aug 13
1
Host and Guest UUID ?
Hi,
Are there some kind of UUIDs for Host and Guest ?
If yes , how may I retrieve them programmatically ?
My goal is to trace GUEST migrations.
Thx for help.
Regards,
J.P. Ribeauville
P: +33.(0).1.47.17.27.87
Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com>
http://www.axway.com<http://www.axway.com/>
P Pensez à l'environnement avant
2015 Dec 18
1
Getting IP address of a lxc container via libvirt
Hello
I wanted to understand if there is a way to get LXC container's ip address.
- virDomainInterfaceAddresses API only works for qemu/kvm and not with the
lxc driver.
What other options do I have?
Using enter-lxc-namespace is throwing this error:
virsh -c lxc:/// lxc-enter-namespace <domain> --noseclabel /sbin/ifconfig
libvirt: error : Expected at least one file descriptor
2016 Mar 09
4
libvirtd vs XDG_RUNTIME_DIR
I ran into an odd problem today. I wanted to share it here in the
hopes of maybe saving someone else some lost time.
When you run libvirtd as an unprivileged user (e.g., if you target
qemu:///session from a non-root account), then libvirt will open a
unix domain socket in one of two places:
- If XDG_RUNTIME_DIR is defined, then inside
$XDG_RUNTIME_DIR/libvirt/libvirt-sock
- If
2015 Dec 04
0
Re: virsh attach device equivalent in libvirt API
On Fri, Dec 04, 2015 at 04:37:58PM +0000, Jean-Pierre Ribeauville wrote:
> Hi,
>
> Is there an equivalent of "virsh attach-device -live
> -persistent" within libvirt API :
Use the source, Luke! You can see exactly how virsh implements the
attach-device command:
https://github.com/libvirt/libvirt/blob/master/tools/virsh-domain.c#L238
--
Lars Kellogg-Stedman
2016 Mar 24
0
/run/user/<uid> persists after user account is deleted
In the tripleo-quickstart project, we're making use of libvirt's
unprivileged mode. When run as a non-root user using a
qemu:///session uri, libvirt creates files and sockets in
subdirectories of $XDG_RUNTIME_DIR (aka /run/user/<uid>).
We are seeing situations in which:
- A "stack" user is created
- Some libvirt resources (a storage pool) are provisioned for that user
-
2013 Jun 27
1
Define storage pool on NFS, mounted from fstab
Good day.
We've got a question, as there's a need to mount NFS over RDMA.
How we should define a pool on an already mounted NFS folder? The pool must
be "shared" for all KVM nodes for live migration purposes.
Thanks in advance.
1999 Jul 26
3
Joining an NT domain?
Howdy,
I've run into some problems adding a Unix server to an NT domain. I've
followed the instructions in DOMAIN_MEMBER.txt; when running the
smbpasswd command:
./bin/smbpasswd -j CS-NT -r CS-NTS1
I get the following errors:
modify_trust_password: machine CS-NTS1 rejected the session setup. Error
was : code 131.
1999/07/26 11:36:37 : change_trust_account_password: Failed to