Re: [libvirt-users] [libvirt] Add support for vhost-user-scsi-pci/vhost-user-blk-pci

2019-12-22 Thread Cole Robinson
FYI there's some more recent discussion over here: https://www.redhat.com/archives/libvir-list/2019-December/msg00817.html There isn't any objections to using for vhost-user-blk, so maybe that's a good place to start. Thanks, Cole On 10/15/19 7:34 AM, Li Feng wrote: > Cole Robinson 于2019年

Re: [libvirt-users] nvme, spdk and host linux version

2019-12-10 Thread Cole Robinson
On 11/27/19 10:12 AM, Mauricio Tavares wrote: > I have been following the patches on nvme support on the list and was > wondering: If I wanted to build a vm host to be on the bleeding edge > for nvme and spdk fun in libvirt, which linux distro -- > fedora/ubuntu/centos/etc -- should I pick? IMO

Re: [libvirt-users] Fail to build upstream libvirt on rhel8

2019-11-26 Thread Cole Robinson
On 11/21/19 3:18 AM, Han Han wrote: > Hello, > A compilation failure happened when I tried building libvirt latest code > on rhel8 > > Version: > gcc-8.3.1-4.5.el8.x86_64 > libvirt v5.9.0-352-g5e939cea89 > > Steps: > 1. Clone libvirt source code > 2. Create build dir, and run autogen.sh > # cd

Re: [libvirt-users] libvirt_lxc memory limit, emulator process part of the cgroup?

2019-11-14 Thread Cole Robinson
On 10/28/19 6:41 AM, Maximilian Philipps wrote: > hi, > > I am currently investigating a bug with libvirt lxc. Whenever I do a > systemctl daemon-reload on the host, my container loses his memory limit > and then reports having access to 8 exabyte of memory. > > I have tracked the issue down to

Re: [libvirt-users] [libvirt] Add support for vhost-user-scsi-pci/vhost-user-blk-pci

2019-10-14 Thread Cole Robinson
's sense because we can't attach emulated devices to it, so it's more a fit for the existing vhost-user support. Unfortunately it's not really a clean fit anywhere, there will have to be some kind of compromise. And I'm not sure if or is right for vhost-user-blk, but hopefully others have more clear

Re: [libvirt-users] [libvirt] Add support for vhost-user-scsi-pci/vhost-user-blk-pci

2019-10-09 Thread Cole Robinson
Sorry for the late reply, and thanks Jano for pointing out elsewhere that this didn't receive a response. On 8/12/19 5:56 AM, Li Feng wrote: Hi Guys, And I want to add the vhost-user-scsi-pci/vhost-user-blk-pci support for libvirt. The usage in qemu like this: Vhost-SCSI -chardev

Re: [libvirt-users] hidden state='on' not working

2019-10-08 Thread Cole Robinson
On 10/8/19 12:33 PM, Michael Lipp wrote: Hi, I have set           That adds -cpu ...,kvm=off in my configuration file. But looking at the command line, I see -cpu ...,hypervisor=on,... If you want hypervisor=off, want to add this to your block - Cole

Re: [libvirt-users] About vhost-user-blk support

2019-09-11 Thread Cole Robinson
t; b.png > > regards >     su > > > HUA SU mailto:suhua.ta...@gmail.com>> 于2019年9 > 月11日周三 上午8:52写道: >> >> ok,thanks. >> >> Suh > >> >> HUA SU >> 邮箱:suhua.ta...@gmail.com <mailto:suhua.ta...@gmail.com> >> >&

Re: [libvirt-users] About vhost-user-blk support

2019-09-10 Thread Cole Robinson
On 8/25/19 10:21 PM, Su Hua wrote: > Hi, everyone, ask a question, which version can fully support the device type > of qemu hw/block/vhost-user-blk.c? If so, what should the format of the xml > file look like? > Hi, libvirt does not currently support vhost-user-blk - Cole

Re: [libvirt-users] Obtaining the PID of a domain's QEMU process from C

2019-03-08 Thread Cole Robinson
On 2/28/19 8:31 PM, Shawn Anastasio wrote: > Hello all, > > I'm currently writing a C program that uses the libvirt API and I need a > way to obtain the pid of a given domain's QEMU process. > > Specifically, I'm writing an ivshmem server that uses SO_PEERCRED to get > the pid of clients that

Re: [libvirt-users] virt-install and IOThreads

2019-01-17 Thread Cole Robinson
On 01/17/2019 05:58 AM, Igor Gnatenko wrote: Hello, is there any way of specifying iothreads via virt-install command? I've tried appending ",iothread='1'" but that didn't work. Thanks in advance! No unfortunately it's not wired up in virt-install. It's fairly easy to patch+extend the

Re: [libvirt-users] usbredir error: Error setting USB device node ACL: 'Not authorized'

2018-10-10 Thread Cole Robinson
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 error: USB redirection error

Re: [libvirt-users] [virt-tools-list] Virt-manager: Restricted networks

2018-10-02 Thread Cole Robinson
On 10/02/2018 08:50 AM, Olivier Léobal wrote: Hello, 'Isolated' networks created in VMM (I’m running 1.4.3) still connect to the host (as gateway). Is it possible to avoid this? It is my understanding that QEMU provides a 'restrict' option for that, but I don't understand it well, and can’t

Re: [libvirt-users] libvirt and virt-manager - Unable to complete install: 'internal error: unsupported input bus usb'

2018-08-22 Thread Cole Robinson
ABOUT THE PROBLEM HERE: https://unix.stackexchange.com/q/464186/61742 Coincidentally this a bug I fixed just this morning: commit b1eb07c26aae1b303cd9893427f46f5b693544b3 (HEAD -> master, origin/master, origin/HEAD) Author: Cole Robinson Date: Wed Aug 22 08:38:33 2018 -0400 guest: Don't add

Re: [libvirt-users] Reintroduce "allocate entire disk" checkbox on virt-manager

2018-06-26 Thread Cole Robinson
On 06/19/2018 07:06 PM, Gionatan Danti wrote: > Il 19-06-2018 22:16 Cole Robinson ha scritto: >> Sorry, I misunderstood. You can still achieve what you want but it's >> more clicks: new vm, manage storage, add volume, and select raw volume >> with whatever capacity you want

Re: [libvirt-users] Reintroduce "allocate entire disk" checkbox on virt-manager

2018-06-19 Thread Cole Robinson
On 06/19/2018 03:37 PM, Gionatan Danti wrote: > Il 19-06-2018 20:14 Cole Robinson ha scritto: >> If you change the disk image format from qcow2 to raw in >> Edit->Preferences, then new disk images are set to fully allocated raw. >> Check the image details with 'qemu-img in

Re: [libvirt-users] Reintroduce "allocate entire disk" checkbox on virt-manager

2018-06-19 Thread Cole Robinson
On 06/18/2018 04:05 PM, Gionatan Danti wrote: > Hi list, > on older virt-manager versions (ie: what shipped with RHEL 6), a > checkbox called "allocate entire disk" was selectable when configuring a > new virtual machine. When checked, it means that the RAW disk image file > was entirely

Re: [libvirt-users] libvirtd firewalld support

2017-03-22 Thread Cole Robinson
On 03/22/2017 10:39 AM, Leon Goldberg wrote: > Hey, > > I've been wondering about the extent libvirt makes use of firewalld. > I'm looking to use firewalld exclusively and wonder about the ports > libvirt takes care of for me via firewalld (e.g. will console/vnc > ports, qemu migration ports,

Re: [libvirt-users] Trying virgl in fedora 25

2016-12-14 Thread Cole Robinson
On 12/13/2016 06:30 AM, Gianluca Cecchi wrote: > Hello, > I'm trying to test what found here: > http://blog.wikichoon.com/2016/05/spice-openglvirgl-acceleration-on.html > > and here: > https://www.kraxel.org/blog/tag/virgl/

Re: [libvirt-users] More recent libvirt builds for CentOS 7

2016-05-15 Thread Cole Robinson
On 05/14/2016 07:16 AM, Le Nucksi wrote: > Hello list, > > is there a way to get more recent libvirt builds for CentOS 7 that include > support for the xl (modern Xen) toolstack? > > I tried to build libvirt from the SRPM, which succeeded, however, without > the mentioned Xen parts. > I have

Re: [libvirt-users] More recent libvirt builds for CentOS 7

2016-05-15 Thread Cole Robinson
On 05/14/2016 07:16 AM, Le Nucksi wrote: > Hello list, > > is there a way to get more recent libvirt builds for CentOS 7 that include > support for the xl (modern Xen) toolstack? > > I tried to build libvirt from the SRPM, which succeeded, however, without > the mentioned Xen parts. > I have

Re: [libvirt-users] [libvirt] Creating a storage volume for raw format file

2016-05-04 Thread Cole Robinson
On 05/04/2016 09:25 AM, Paul Carlton wrote: > > > On 04/05/16 14:07, Cole Robinson wrote: >> On 05/04/2016 06:54 AM, Paul Carlton wrote: >>> Hi >>> >>> I'm trying to create a volume in an existing storage pool using python by >>> call

Re: [libvirt-users] [libvirt] Creating a storage volume for raw format file

2016-05-04 Thread Cole Robinson
On 05/04/2016 06:54 AM, Paul Carlton wrote: > Hi > > I'm trying to create a volume in an existing storage pool using python by > calling createXML() on the pool object. > If the file that is the subject of the new volume exists you get and error, > also if it doesn't exist > > I worked out that

Re: [libvirt-users] Making remote access to qemu://session easier?

2016-05-02 Thread Cole Robinson
On 05/02/2016 11:57 AM, Lars Kellogg-Stedman wrote: > 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

Re: [libvirt-users] stream finish throws exception via python API

2016-04-27 Thread Cole Robinson
On 04/27/2016 04:26 AM, Daniel P. Berrange wrote: > On Tue, Apr 26, 2016 at 03:17:19PM -0400, Cole Robinson wrote: >> On 04/26/2016 02:56 PM, Nir Soffer wrote: >>> On Tue, Apr 26, 2016 at 4:37 PM, Cole Robinson <crobi...@redhat.com> wrote: >>>> On 04/2

Re: [libvirt-users] stream finish throws exception via python API

2016-04-26 Thread Cole Robinson
On 04/26/2016 02:56 PM, Nir Soffer wrote: > On Tue, Apr 26, 2016 at 4:37 PM, Cole Robinson <crobi...@redhat.com> wrote: >> On 04/26/2016 09:35 AM, Shahar Havivi wrote: >>> On 26.04.16 15:30, Shahar Havivi wrote: >>>> On 26.04.16 14:14, Shahar Havivi wrote: &g

Re: [libvirt-users] /proc/meminfo

2016-04-26 Thread Cole Robinson
On 04/26/2016 10:01 AM, mxs kolo wrote: >> Cool, thanks for the info! Does this still affect libvirt 1.3.2 as well? You >> mentioned elsewhere that you weren't hitting this issue with that version > Sorry, I miss version and another details. > Test make on CentOS Linux release 7.2.1511 (Core) >

Re: [libvirt-users] stream finish throws exception via python API

2016-04-26 Thread Cole Robinson
On 04/26/2016 09:35 AM, Shahar Havivi wrote: > On 26.04.16 15:30, Shahar Havivi wrote: >> On 26.04.16 14:14, Shahar Havivi wrote: >>> On 25.04.16 09:11, Cole Robinson wrote: >>>> On 04/25/2016 08:10 AM, Shahar Havivi wrote: >>>>> On 1

Re: [libvirt-users] /proc/meminfo

2016-04-26 Thread Cole Robinson
On 04/26/2016 07:44 AM, mxs kolo wrote: > Now reporduced with 100% > 1) create contrainer with memory limit 1Gb > 2) run inside simple memory test allocator: > #include > #include > #include > #define MB 1024 * 1024 > int main() { > int total = 0; > while (1) { > void *p = malloc(

Re: [libvirt-users] stream finish throws exception via python API

2016-04-25 Thread Cole Robinson
On 04/25/2016 08:10 AM, Shahar Havivi wrote: > On 17.04.16 15:41, Shahar Havivi wrote: >> Hi, >> The following snippet works fine e.g. receiving the data but when calling >> stream.finish() we get the following error: >> >> stream = con.newStream() >> vol.download(stream, 0, 0, 0) >> buf =

Re: [libvirt-users] ssh-askpass in libvirt

2016-04-20 Thread Cole Robinson
On 04/20/2016 08:01 AM, Alex Roithman wrote: > It seems, that libvirt use system environments for finding the ask-pass > application. You can to tell me this variables? Or libvirt uses another > mechanism for call to ssh-askpass application? Libvirt just exec's ssh, which is what checks for and

Re: [libvirt-users] Can libvird use iSCSI direcly?

2016-04-15 Thread Cole Robinson
On 04/15/2016 07:21 AM, Basin Ilya wrote: > Hi. > I was expecting that qemu-kvm process would connect directly to iSCSI > server, but https://libvirt.org/storage.html#StorageBackendISCSI says > that it wants symlinks in `/dev/disk/by-path` . > > That suggests it relies on Linux iSCSI client that

Re: [libvirt-users] DBus API for libvirt

2016-04-13 Thread Cole Robinson
On 04/13/2016 11:30 AM, sba...@catern.com wrote: > > > Hello, > > For a variety of reasons I am interested in a D-Bus interface for > libvirt. > > Primarily for use with http://cockpit-project.org/ for which it > would be very easy to write a web interface for libvirt, given a D-Bus >

Re: [libvirt-users] create a network such as default network

2016-04-10 Thread Cole Robinson
On 04/10/2016 12:32 PM, Mohsen Pahlevanzadeh wrote: > Dear All, > > When user uses `virsh net-define xmlfile` , User only define an xml file in > `/etc/libvirt/qemu/networks`. > I created an uuid and another bridge in related xml file. But I need to create > the following files for my network: >

Re: [libvirt-users] /proc/meminfo

2016-03-23 Thread Cole Robinson
On 03/23/2016 01:41 PM, Peter Steele wrote: > On 03/23/2016 09:19 AM, Cole Robinson wrote: >> On 03/23/2016 12:10 PM, Peter Steele wrote: >>> Has anyone seen this issue? We're running containers under CentOS 7.2 and >>> some >>> of these containers are r

Re: [libvirt-users] [libvirt] Libvirt bite sized tasks

2016-03-20 Thread Cole Robinson
On 06/15/2015 03:59 AM, Michal Privoznik wrote: > Dear lists, > > I've just started new wiki page which aim is to summarize small and > trivial tasks, that starting contributors can take, investigate and > implement. The aim is to give them something easy to start with while > not scaring them

Re: [libvirt-users] qemu:///session and network-mounted home directories

2015-10-10 Thread Cole Robinson
On 10/10/2015 10:53 AM, Spencer Baugh wrote: > > Dear libvirt-users, > > Suppose my home directory is network mounted on to several different > machines. And suppose I defined some VMs in qemu:///session. The > configuration files and disk images for qemu:///session are stored in my > home

Re: [libvirt-users] qemu:///session and network-mounted home directories

2015-10-10 Thread Cole Robinson
On 10/10/2015 02:40 PM, Spencer Baugh wrote: > Cole Robinson <crobi...@redhat.com> writes: >> The proper way to make sure shared VMs aren't started across multiple >> machines >> is libvirt's locking support: https://libvirt.org/locking.html >> >> It requi

Re: [libvirt-users] [libvirt] New software based on libvirt

2015-09-22 Thread Cole Robinson
On 09/22/2015 05:12 AM, Michal Privoznik wrote: > On 21.09.2015 21:28, Gustav Fransson Nyvell wrote: >> Hello, >> >> I'm introducing to you the decentralized cloud Cherrypop. >> >> Combining libvirt and LizardFS (as of now) it becomes a cloud completely >> without masters. Thus, any node is

Re: [libvirt-users] Error during virt-install, error is not for the guest being instantiated

2015-09-03 Thread Cole Robinson
On 09/02/2015 09:20 AM, DeVincentis, Joseph wrote: > Hi, > > > > I have two processes spinning up independent sets of guests, letting the > guests run for a while, and tearing them down. > > > > The two processes are generally giving their set of guests a different > “run-period”, so the

Re: [libvirt-users] Standalone KVM boot from USB ?

2015-05-25 Thread Cole Robinson
On 05/24/2015 11:42 PM, Matt . wrote: Hi Guys, I'm looking for a solution so I can boot a HyperVisor from USB which I can manage through Foreman and also Manually if needed. ESXi can do so, but I'm looking for an opensource solution. KVM would be best but I wonder if there is a way to

Re: [libvirt-users] Editing http://libvirt.org/sources/virshcmdref/html-single/#sect-attach-device

2015-05-10 Thread Cole Robinson
On 05/08/2015 10:17 AM, Mauricio Tavares wrote: I just noticed the entries on attach-disk and attach-devices are a bit on the empty size. As I am just attaching a usb device to one of my vm clients, I was wondering if I could offer examples to those entries. I would recommend checking

Re: [libvirt-users] [virt-tools-list] libvirt/virt-manager source integration with xen

2015-03-03 Thread Cole Robinson
- Cole On Mon, Mar 2, 2015 at 3:08 PM, Cole Robinson crobi...@redhat.com mailto:crobi...@redhat.com wrote: On 03/02/2015 01:39 PM, Wayne Mills wrote: Thanks Cole, unfortunately I'm a n00b in this area so your response just raised many more questions for me

Re: [libvirt-users] [virt-tools-list] libvirt/virt-manager source integration with xen

2015-03-02 Thread Cole Robinson
On 03/02/2015 10:55 AM, Wayne Mills wrote: Hi, I built and installed Xen 4.5.0 from source, on top of Ubuntu 14.04.2, using make world and make install targets. I then installed latest virt-manager from pre-built packages. After bringing up virt-manager I attempt to connect to Xen

Re: [libvirt-users] [virt-tools-list] libvirt/virt-manager source integration with xen

2015-03-02 Thread Cole Robinson
', it can be very difficult to debug things if they go wrong. - Cole On Mon, Mar 2, 2015 at 12:12 PM, Cole Robinson crobi...@redhat.com mailto:crobi...@redhat.com wrote: On 03/02/2015 10:55 AM, Wayne Mills wrote: Hi, I built and installed Xen 4.5.0 from source, on top

Re: [libvirt-users] A problem with converting an OVA appliance

2015-02-25 Thread Cole Robinson
On 02/24/2015 11:57 PM, Marko Dimjašević wrote: On Sun, 2015-02-22 at 10:33 -0500, Cole Robinson wrote: 0.600.1 is very old, and virt-convert has changed a lot since then. I'd recommend trying the latest version from virt-manager-1.1.0, and if you still hit issues, file an upstream bug: I

Re: [libvirt-users] A problem with converting an OVA appliance

2015-02-25 Thread Cole Robinson
On 02/25/2015 10:57 AM, Marko Dimjašević wrote: Hi all, On Wed, 2015-02-25 at 08:54 -0500, Cole Robinson wrote: New virt-convert does not convert to virt-image, since virt-image has been removed. It converts straight to libvirt XML Thx Cole for this! Does that version of virt-convert

Re: [libvirt-users] A problem with converting an OVA appliance

2015-02-22 Thread Cole Robinson
On 02/22/2015 01:58 AM, Marko Dimjašević wrote: Hi all, I've been having a problem when trying to convert an Open Virtualization Appliance (OVA) format appliance to the virt-image format. This is how I try to convert the appliance: $ virt-convert --arch=i686 -i ovf appliance.ova The

Re: [libvirt-users] usb passtrough stuck to a given

2014-09-24 Thread Cole Robinson
On 09/24/2014 04:11 PM, Mauricio Tavares wrote: So I have an entry for a USB device ( ID 051d:0002, UPS) I want to use with a given vm client. In that vm client's config file I added something like this: hostdev mode='subsystem' type='usb' managed='yes' source

Re: [libvirt-users] savevm and qemu 2.1.1

2014-09-22 Thread Cole Robinson
On 09/22/2014 04:46 AM, Thomas Stein wrote: Am 22.09.14 10:42, schrieb Daniel P. Berrange: On Sat, Sep 20, 2014 at 02:13:16PM +0200, Thomas Stein wrote: hello. I have an issue with libvirt-1.2.6 and qemu-2.1.1. As soon as i do: savevm $domain the domain ist gone. Console says unable to

Re: [libvirt-users] virt-manager and libvirt-python

2014-08-15 Thread Cole Robinson
On 08/15/2014 03:03 AM, Фарит Мутугуллин wrote: Hello! I'm trying to work with virt-manager but getting SIGTRAP signal. It is done with gdb under MinGW32 on Windows 7 64-bit. I have Python 2.7.8. 32-bit. As I can see from backtrace ( http://pastebin.com/JhN6XgYb ), there is something wrong

Re: [libvirt-users] [virt-tools-list] live-migrating a VM whose current host's storage is fubar'ed

2014-04-16 Thread Cole Robinson
On 04/15/2014 05:16 PM, Digimer wrote: Hi all, For those on the linux-cluster list, this is a similar question to my post[1] there. I recently had a client destroy their node's RAID array (they yanked hard drives until the array was destroyed). The VMs running on the node continued

Re: [libvirt-users] io mode=native precisions

2014-03-24 Thread Cole Robinson
On 03/24/2014 03:57 AM, Raphael Bauduin wrote: On Thu, Mar 20, 2014 at 9:13 AM, Raphael Bauduin rbli...@gmail.com mailto:rbli...@gmail.com wrote: Hi, Before switching to io mode=native, I wanted to check if there are any disadvantages or potential problem with this

Re: [libvirt-users] can I undo the snapshot apply of a qcow2 image

2014-03-24 Thread Cole Robinson
On 03/24/2014 05:56 AM, lyz_pro wrote: Hi all I have a problem. Two days ago , I used kvm-img create a snapshot of an qcow2 format image. And today I apply the snapshot of this image. The question is can I recovery the image to the last point . I mean Undo this snapshot apply No,

Re: [libvirt-users] Problems with qemu-system-arm and isa-serial

2014-02-19 Thread Cole Robinson
On 02/19/2014 10:01 AM, Niccolo Rigacci wrote: On Tue, Feb 18, 2014 at 09:49:06AM -0500, Cole Robinson wrote: What libvirt and qemu version are you using? I'm on a Debian 7.4 Wheezy (Stable): libvirt: 0.9.12.3-1 qemu:1.1.2+dfsg-6a It seems that Debian has more recent versions, via

Re: [libvirt-users] event-test.py cannot detects domain shutdown

2014-02-19 Thread Cole Robinson
On 02/18/2014 10:45 PM, Jim Fehlig wrote: Cole Robinson wrote: On 02/18/2014 05:12 AM, Kim Larry wrote: The thing I found today is that if libvirt uses xend driver, shutdown events are delivered, but if libvirt uses libxl drvier, doesn't show up anything. It seems there are bugs

Re: [libvirt-users] event-test.py cannot detects domain shutdown

2014-02-18 Thread Cole Robinson
On 02/18/2014 05:12 AM, Kim Larry wrote: 2014년 2월 11일 오후 10:00에 Eric Blake ebl...@redhat.com 작성: On 02/11/2014 12:20 AM, Kim Larry wrote: libvirtd version is 1.1.4 and using Xen for hypervisor. I'm not as familiar with the xen hypervisor as with qemu; it may just be the case that no one

Re: [libvirt-users] Problems with qemu-system-arm and isa-serial

2014-02-18 Thread Cole Robinson
On 02/18/2014 04:03 AM, Niccolo Rigacci wrote: On Tue, Feb 18, 2014 at 09:33:01AM +0100, Martin Kletzander wrote: Wahtever I do in libvirt, I get this paramter added: -device isa-serial and this is new-style for x86 qemu, however, arm-based qemu haven't adopted this option yet. To be a

Re: [libvirt-users] Help? Running into problems with migrateToURI2() and virDomainDefCheckABIStability()

2014-02-11 Thread Cole Robinson
On 02/10/2014 06:46 PM, Chris Friesen wrote: Hi, We've run into a problem with libvirt 1.1.2 and are looking for some comments on whether this is a bug or design intent. We're trying to use migrateToURI() but we're using a few things (numatune, vcpu mask, etc.) that may need adjustment

Re: [libvirt-users] Unable to use more than 4 serial devices at once.

2013-11-19 Thread Cole Robinson
On 11/17/2013 09:18 PM, Matthew Harrold wrote: On Sun, Nov 17, 2013 at 7:44 PM, Cole Robinson crobi...@redhat.com mailto:crobi...@redhat.com wrote: On 11/17/2013 01:26 PM, Matthew Harrold wrote: Hi All. I'm trying to setup a guest within my hypervisor that acts

Re: [libvirt-users] Unable to use more than 4 serial devices at once.

2013-11-17 Thread Cole Robinson
On 11/17/2013 01:26 PM, Matthew Harrold wrote: Hi All. I'm trying to setup a guest within my hypervisor that acts as a Console Server, using 10 USB to Serial adapters. The Host is all setup and can access each Serial Port without problems. I have attempted to add the Serial Connections to

Re: [libvirt-users] virt-manager 0.10.0 gentoo bug on start?

2013-06-27 Thread Cole Robinson
On 06/27/2013 11:59 AM, Marko Weber | ZBF wrote: hello i installed virt-manager 0.10.0 on gentoo. on start i get: Fehler beim Starten des Virtual Machine Managers: cannot import name SpiceClientGtk Traceback (most recent call last): File /usr/share/virt-manager/virt-manager, line

Re: [libvirt-users] [virt-tools-list] Debugging TLS connection between virt-viewer and libvirt running on separate hosts

2013-04-10 Thread Cole Robinson
On 04/10/2013 10:47 AM, Will Dennis wrote: Hi all, I’m running libvirt 1.0.4 on one host (Ubuntu 12.04), and virt-manager/virt-viewer on another (FC18), and using TLS to secure the comm’s between the hosts. I was able to get virt-manager to connect the the hypervisor host via qemu+tls

Re: [libvirt-users] [virt-tools-list] unssafe operation with virt-manager

2013-03-16 Thread Cole Robinson
On 03/16/2013 02:53 AM, digvijay chauhan wrote: I tried to migrate with virt-manager's GUI but when i invoke migrate command it gives me error that unable to migrate vm unsafe operation You've already asked this question on the list in various ways. Please check the previous responses. -

Re: [libvirt-users] [virt-tools-list] C'ant migrate with virt-manager or virsh

2013-03-14 Thread Cole Robinson
On 03/14/2013 03:17 AM, Digvijay wrote: [root@node0 ~]# virsh migrate --live try1 qemu+ssh://root@100.100.102.106/system --unsafe root@100.100.102.106's password: error: operation failed: migration job: unexpectedly failed error: Reconnected to the hypervisor CC-ing libvirt-users I

Re: [libvirt-users] Regarding persistence of VM's after live migration (virDomainMigrateToURI() problem)

2012-05-02 Thread Cole Robinson
On 05/02/2012 04:52 AM, Coding Geek wrote: On Mon, Apr 30, 2012 at 9:07 PM, Cole Robinson crobi...@redhat.com mailto:crobi...@redhat.com wrote: On 04/25/2012 07:06 AM, Coding Geek wrote: Hello I am working with 3 host machines each running xen with shared NFS

Re: [libvirt-users] Regarding persistence of VM's after live migration (virDomainMigrateToURI() problem)

2012-04-30 Thread Cole Robinson
On 04/25/2012 07:06 AM, Coding Geek wrote: Hello I am working with 3 host machines each running xen with shared NFS storage. I am working on automatic load balancing if one host is over utilized and another is under utilized by measuring the utilization from xentop. I am facing a problem

Re: [libvirt-users] libvirt slow responding after define poool with existing VG with some other lv

2012-04-16 Thread Cole Robinson
On 04/16/2012 03:20 AM, Anton Gorlov wrote: If I add VG with some other lv-s to libvirt pool then libvirt slow responding. How to fix it? Which distro and version of libvirt are you using? There is a fix that may help, but it's only in 0.9.10 or newer:

Re: [libvirt-users] libvirt slow responding after define poool with existing VG with some other lv

2012-04-16 Thread Cole Robinson
On 04/16/2012 09:01 AM, Anton Gorlov wrote: Okay so that's not the issue. Maybe one of the lvm commands is slow for your setup. Try running sudo LIBVIRT_DEBUG=1 libvirtd, run the pool-start in another terminal, and see if the libvirtd debug output gives any indication where things are hanging.

Re: [libvirt-users] Virtualizing a an old SuSE system

2012-02-28 Thread Cole Robinson
On 02/27/2012 08:56 PM, Dale Amon wrote: On Mon, Feb 27, 2012 at 05:41:49PM -0700, Eric Blake wrote: On 02/27/2012 05:15 PM, Dale Amon wrote: On Mon, Feb 27, 2012 at 11:14:41AM -0700, Eric Blake wrote: On 02/25/2012 07:42 PM, Dale Amon wrote: I'm in the midst of an attempt to convert an old

Re: [libvirt-users] virt-install: ERROR Host does not support any virtualization options

2012-02-08 Thread Cole Robinson
On 02/08/2012 04:01 AM, Michal Privoznik wrote: On 08.02.2012 09:33, Felix Blanke wrote: On 2/8/12 12:52 AM, Cole Robinson wrote: On 02/07/2012 08:11 AM, Felix Blanke wrote: Hi, I tried (most) of your use flags without any change. Maybe it's because my CPU is very new and qemu-kvm-1.0-r2

Re: [libvirt-users] virt-install: ERROR Host does not support any virtualization options

2012-02-08 Thread Cole Robinson
On 02/08/2012 07:51 AM, Michal Privoznik wrote: On 08.02.2012 13:45, Cole Robinson wrote: On 02/08/2012 04:01 AM, Michal Privoznik wrote: On 08.02.2012 09:33, Felix Blanke wrote: On 2/8/12 12:52 AM, Cole Robinson wrote: On 02/07/2012 08:11 AM, Felix Blanke wrote: snip/ I've started

Re: [libvirt-users] serial console with virt-install

2012-02-08 Thread Cole Robinson
On 02/08/2012 03:52 AM, Felix Blanke wrote: On 2/8/12 9:46 AM, Osier Yang wrote: On 2012幎02月08日 05:08, Felix Blanke wrote: Hello, sorry for bother you again. I'm new to kvm and libvirt, that's why my next question is maybe some sort of noob question :) I have a headless server (no X

Re: [libvirt-users] virt-install: ERROR Host does not support any virtualization options

2012-02-07 Thread Cole Robinson
On 02/07/2012 08:11 AM, Felix Blanke wrote: Hi, I tried (most) of your use flags without any change. Maybe it's because my CPU is very new and qemu-kvm-1.0-r2 has problem with that. Whatever, I'm fine with the version. Still needs to get a tutorial how to use vde with virt-install.

Re: [libvirt-users] Clone VM

2012-01-16 Thread Cole Robinson
On 01/16/2012 04:44 AM, Boris Tobotras wrote: Greets, I've began to try libvirt API and looking for most correct way to clone existing VM (Xen server if it matters). Since API lacks this functionality how does one usually go about it? Thanks in advance, There isn't a single

Re: [libvirt-users] virt-manager - how to add /dev/mapper as a storage pool

2011-08-09 Thread Cole Robinson
On 08/08/2011 04:37 PM, Marc Haber wrote: Hi, I would like to be able to configure VMs running off dm-crypt devices that were unlocked in the host. Unlocked dm-crypt devices show up in /dev/mapper/devicename, with devicename being the second parameter given to cryptsetup luksOpen. The

Re: [libvirt-users] virt-manager - how to add /dev/mapper as a storage pool

2011-08-09 Thread Cole Robinson
On 08/09/2011 12:31 PM, Marc Haber wrote: On Tue, Aug 09, 2011 at 11:09:06AM -0400, Cole Robinson wrote: On 08/08/2011 04:37 PM, Marc Haber wrote: I would like to be able to configure VMs running off dm-crypt devices that were unlocked in the host. Unlocked dm-crypt devices show up in /dev

Re: [libvirt-users] virt-install becoming a headache

2011-05-04 Thread Cole Robinson
On 05/03/2011 11:32 AM, Ricard Daniel Santafe Bence wrote: hi libvirt team!! i'have been trying to install a OS Guest in my Host(Centos 5.5 server with kernel 2.6.18-192 o 2.6.38) and i wasn't successfull. i have installed all the virtualization paquets of the Centos 5.5 installation,

Re: [libvirt-users] driver type for .vdi images?

2010-11-18 Thread Cole Robinson
On 11/18/2010 05:17 AM, Benjamin Hagemann wrote: Hello libvirt experts, I use libvirt (0.7.5-5ubuntu27.7) with KVM / qemu (0.12.3+noroms-0ubuntu9.2). Some machines use raw images but same use Virtualbox images (.vdi). Since last Ubuntu 10.04 LTS update I can not start the vdi-images. The

Re: [libvirt-users] Question on CPU pinning in Python

2010-09-23 Thread Cole Robinson
On 09/22/2010 03:51 PM, Stanley, Jon [Tech] wrote: Looking at the python API, once I have a domain object I can call domain.pinVcpu to pin a specific vcpu to a physical CPU. I found http://www.mail-archive.com/libvir-l...@redhat.com/msg04562.html which mentioned some changes to the C API in

Re: [libvirt-users] [virt-tools-list] Client certificate paths?

2010-08-19 Thread Cole Robinson
On 08/12/2010 10:29 AM, Lars Kellogg-Stedman wrote: Hello all, I'm trying to get virsh (and virt-manager) to talk to a remote libvirt instance. I cannot for the life of me figure out how to tell either tool where to find client or CA certificates. Do they *really* need to access the ones

Re: [libvirt-users] [virt-tools-list] Possible to rename a volume

2010-07-20 Thread Cole Robinson
On 07/20/2010 02:54 AM, Bla Blubb wrote: Hi, is there a way to rename a volume via virsh? Regards Jessica No, though you could use vol-clone and then vol-delete on the original. Would be slow/inefficient understandably. - Cole ___

Re: [libvirt-users] Functionality of virsh net-edit

2010-06-14 Thread Cole Robinson
On 06/12/2010 03:37 AM, Arseny Klimovsky wrote: Hi, I am using version libvirt on debian lenny from backports repository, version 0.7.6-1~bpo50+1, amd64. Th functionality of virsh net-edit command is not very clearly documented, and I think it should change a configuration of a running

Re: [libvirt-users] virsh reset option

2010-06-01 Thread Cole Robinson
On 05/31/2010 04:01 AM, udo1 wrote: Hi everybody, I have one more question but virsh related: Is there a reset equivalent option in virsh, like system_reset in QEMU monitor? In the help list I do not see it. No, libvirt doesn't have a reset API, so you there is currently know way to

Re: [libvirt-users] Monitoring KVM Machine Uptimes

2010-06-01 Thread Cole Robinson
On 05/31/2010 10:16 AM, Karsten Knese wrote: Hey folks. Currently, I am working on an accounting-solution for Private Cloud with Eucalyptus as my bachelor-thesis. Eucalyptus bases on libvirt providing the KVM machines. Part of the thesis is kind of measurement for the uptimes of each

Re: [libvirt-users] Qemu driver not supporting VIR_DOMAIN_DEVICE_MODIFY_CONFIG yet?

2010-06-01 Thread Cole Robinson
On 05/31/2010 11:52 AM, Guido Winkelmann wrote: Hi, According to the docs on http://libvirt.org/html/libvirt-libvirt.html#virDomainDetachDeviceFlags I ought to be able to do virDomainDetachDeviceFlags( domain, devicexml, VIR_DOMAIN_DEVICE_MODIFY_LIVE |

Re: [libvirt-users] Host should not touch passed-through USB device, how?

2010-06-01 Thread Cole Robinson
On 05/28/2010 02:09 PM, Andreas Ntaflos wrote: Hello list, this may be off topic but it is closely related to my Libvirt adventures so maybe you can help me. I want to pass a USB device (a USB Huawei E620 modem) through to a KVM guest. Pass-through in general works fine and the modem

Re: [libvirt-users] Cannot create qcow2 images with libvirt 0.8.1

2010-05-28 Thread Cole Robinson
On 05/28/2010 11:10 AM, Guido Winkelmann wrote: Hi, After upgrading to libvirt 0.8.1, I can no longer create empty volumes with no backing store and an explicit format of qcow2. This XML volume definition: volume nametestserverb-data2.img/name allocation0/allocation capacity

Re: [libvirt-users] [libvirt] How to obtain rights to extend libvirt documentation pages

2010-05-25 Thread Cole Robinson
On 05/25/2010 03:07 AM, íÁÒË ëÏÒÅÎÂÅÒÇ wrote: For example, http://libvirt.org/formatdomain.html#elementsDisks does not contain serial/serial tag. (https://bugzilla.redhat.com/show_bug.cgi?id=593266) I wrote to community (users and developers). No one has added this information to the

Re: [libvirt-users] learn XML network/

2010-05-18 Thread Cole Robinson
On 05/18/2010 05:37 AM, Michael Löblich wrote: Can please anybody write a XML-description for the diagram shown on http://libvirt.org/archnetwork.html The network XML format is documented at: http://libvirt.org/formatnetwork.html - Cole ___

Re: [libvirt-users] learn XML network/

2010-05-18 Thread Cole Robinson
is confusing in that respect. Been meaning to write a patch to fix that. - Cole Very useful! On Tue, 18 May 2010, Cole Robinson wrote: On 05/18/2010 05:37 AM, Michael Löblich wrote: Can please anybody write a XML-description for the diagram shown on http://libvirt.org/archnetwork.html

Re: [libvirt-users] location of network xml files

2010-02-28 Thread Cole Robinson
On 02/28/2010 06:50 PM, carlos campderrós wrote: Hello again, 2010/3/1 carlos campderrós gilipollas.desconcerta...@gmail.com mailto:gilipollas.desconcerta...@gmail.com Is it reasonable to symlink (or hardlink if possible) one file to the other? Or to remove the /etc file and point

Re: [libvirt-users] virt-manager and openvz

2010-02-12 Thread Cole Robinson
On 02/12/2010 07:51 AM, Angel Bosch Mora wrote: hi, on main page of libvirt i can see that there's support for OpenVZ. how can i connect with virt-manager to an OpenVZ machine? You'll have to specify the libvirt URI via the virt-manager command line: virt-manager --connect URI --debug

Re: [libvirt-users] virt-manager can't start

2010-02-05 Thread Cole Robinson
On 02/04/2010 11:19 PM, Stephen Liu wrote: *From:* Cole Robinson crobi...@redhat.com *To:* Stephen Liu sati...@yahoo.com *Cc:* libvirt-users@redhat.com *Sent:* Thu, February 4, 2010 10:25:28 AM *Subject:* Re: [libvirt-users] virt-manager can't start - snip - Yeah, that's the row I