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 R

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 Fe

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 li

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 t

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

2019-10-14 Thread Cole Robinson
ight, and this was my understanding. But then its not really a in libvirt'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 co

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 socket,id=c

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
; a.png > 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 con

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 comm

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 f

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

2018-08-22 Thread Cole Robinson
quot;domu". MORE INFORMATION 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:

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

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-i

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 allocated,

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, etc,

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] Permanently change default virsh editor

2016-07-06 Thread Cole Robinson
On 07/06/2016 03:27 PM, J Travis Lindsey wrote: > Hello, I found in the docs that I can change the editor I use on a per vm > bases with the following: > *EDITOR=$your-favorite-editor virsh edit $your-vm-name* > > But how do I change it permanently so when I run: > *virsh edit $your-vm-name* > >

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 also

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 also

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 >>> calling

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 s

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 insta

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 wrote: >>>> On 04/26/2016 09:35 AM, Shahar Havivi

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 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: >>>>> On 25.04.1

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) > and

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 17.04.16 15:4

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( 100*MB

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 = stream.r

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 l

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 w

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 > interface

Re: [libvirt-users] [Bug 1325687] network type="ethernet" not supported with LXC

2016-04-12 Thread Cole Robinson
On 04/12/2016 09:12 AM, abhishek jain wrote: > Hi Cole > > I tested the LXC VM with libvirt 1.2.12 after applying the patch > > http://www.redhat.com/archives/libvir-list/2016-April/msg00505.html > > I'm now getting following errors.. > > virsh -c lxc: start test > error: Failed to start

Re: [libvirt-users] [Bug 1325687] network type="ethernet" not supported with LXC

2016-04-11 Thread Cole Robinson
testing with qemu. It's probably not much work to wire up type=ethernet for LXC, but someone else will need to do it. I'll send a patch to make the error explicit again. Please reopen your RFC bug Thanks, Cole > > > --Thanks > Abhishek Jain > > > > On Mon, Apr 1

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

Re: [libvirt-users] /proc/meminfo

2016-03-23 Thread Cole Robinson
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 reporting incorrect memory allocation in > /proc/meminfo. The output below comes from a system with 32G of memory and > 84GB of swap. The values rep

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 out

Re: [libvirt-users] Why does libvirt insert USB controller automagically?

2015-12-01 Thread Cole Robinson
On 11/30/2015 07:30 PM, Sundar Nadathur wrote: > Hello all, > > I find this curious behavior that libvirt will automatically insert a USB > controller and a memballoon virtio driver into the domain’s XML, when > defineXML is called. IOW, the original XML did not have these 2 devices but > the

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 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 requires running a sep

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 direct

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 suffici

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 gu

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 w

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 checkin

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

2015-03-03 Thread Cole Robinson
really only experienced with RPMs - Cole > > On Mon, Mar 2, 2015 at 3:08 PM, Cole Robinson <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

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

2015-03-02 Thread Cole Robinson
software. Building multiple dependent packages from source is often a non-trivial task. And if you are 'make install'ing various different build configurations and things don't 'just work', it can be very difficult to debug things if they go wrong. - Cole > On Mon, M

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 Xe

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 t

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 >>

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

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: > > > > > > > > > And that worked fine

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.

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 w

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 contin

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] 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 > wrote: > > Hi, > > Before switching to io mode=native, I wanted to check if there are any > disadvantages or potential problem with this setting. >

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 sho

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 >

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

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 작성: > >> 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 h

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

2014-02-12 Thread Cole Robinson
On 02/12/2014 01:03 PM, Chris Friesen wrote: > On 02/11/2014 04:45 PM, Cole Robinson wrote: >> 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 >>> comm

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 adjustm

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 <mailto:crobi...@redhat.com>> wrote: > On 11/17/2013 01:26 PM, Matthew Harrold wrote: > > Hi All. > > > > I'm trying to setup a guest withi

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 Connecti

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-manag

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-15 Thread Cole Robinson
On 03/15/2013 01:33 AM, digvijay chauhan wrote: > Hello, > i migrated the vm to the dsetination but when i remigrate to its > original host is gives me. > > [root@node0 ~]# virsh migrate try3 --live qemu+ssh://100.100.102.106/system > --unsafe > root@100

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

Re: [libvirt-users] virt-install kickstart local file

2012-11-13 Thread Cole Robinson
On 11/06/2012 01:29 AM, Joe Linoff wrote: > Hi Everybody: > > I am trying to get virt-install to work with a kickstart file that is on > the local file system. > > I tried using the --initrd-inject="/tmp" > --extra-args="ks=file:/myks.cfg" but I got this error message: > >ERROR--extra-ar

Re: [libvirt-users] Python 3.2 support for libvirt API?

2012-05-16 Thread Cole Robinson
On 05/12/2012 09:30 PM, Patrick Wilbur wrote: > Hey all, > > I apologize if this has been asked many times already (new to the list). > > I'm trying to write a Python script that makes use of the libvirt API, and I'm > trying my best to make the script both Python 2.x and 3.x compatible. Is the

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

2012-05-02 Thread Cole Robinson
On 05/02/2012 04:11 PM, Coding Geek wrote: > > > On Wed, May 2, 2012 at 7:42 PM, Cole Robinson <mailto:crobi...@redhat.com>> wrote: > > On 05/02/2012 04:52 AM, Coding Geek wrote: > > > > > > On Mon, Apr 30, 2012 at 9:07 PM, Cole

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 <mailto:crobi...@redhat.com>> wrote: > > On 04/25/2012 07:06 AM, Coding Geek wrote: > > > > Hello > > I am working with 3 host machines each

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 probl

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 h

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 08:27 AM, Anton Gorlov wrote: > > > > 16.04.2012 16:12, 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? &

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: http://libvirt.org/git/?p=libvirt

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 co

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 he

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: >>>>&g

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 a

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-i

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 si

Re: [libvirt-users] [virt-tools-list] error creating NFS storage pool

2011-12-22 Thread Cole Robinson
On 12/16/2011 05:32 PM, Grant Siebrecht wrote: > Virtual Machine Manager 0.9.0 > OS = Ubuntu 11.10 > I've tried changing permissions on my_nfs_server to 777 with still no luck. > > > > Error creating pool: Could not start storage pool: cannot open volume > '/var/lib/libvirt/images/my_nfs_server/

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

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. > >

Re: [libvirt-users] with current libvirt git virsh expects vbox, refuses kvm define

2011-07-27 Thread Cole Robinson
On 07/27/2011 03:21 AM, Matthias Bolte wrote: > 2011/7/27 Whit Blauvelt : >>> What's the output of "# virsh -V" on your second ubuntu box? I guess >>> your libvirt on that box might not be compiled with qemu driver. >> >> # virsh -V >> Virsh command line tool of libvirt 0.9.3 ... >> >> Compiled wit

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, no

Re: [libvirt-users] [virt-tools-list] store vm xml files in another directory

2011-02-09 Thread Cole Robinson
On 02/08/2011 03:05 PM, Kenneth Armstrong wrote: > I know that by default, vm xml files are in > /etc/libvirt/qemu/vm-name.xml, but is there a configuration somewhere > that I could point to another directory? For instance, have it on > something like /srv/qemu/xml/vm-name.xml which would be a GFS

Re: [libvirt-users] Error creating a new vm

2010-12-20 Thread Cole Robinson
On 12/20/2010 07:57 AM, Jiri Denemark wrote: >> Here are the version numbers: >> >> virsh # version >> Compiled against library: libvir 0.6.3 >> Using library: libvir 0.6.3 >> Using API: QEMU 0.6.3 >> Running hypervisor: QEMU 0.9.0 >> >> Also here are the logs: >> >> # cat /var/log/libvirt/qemu/tes

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. >

Re: [libvirt-users] [libvirt] How to rename a domain?

2010-10-14 Thread Cole Robinson
On 10/12/2010 12:58 PM, Ganesh Pagade wrote: > Hi, > > I am using libvirt Java bindings. How can I rename a domain? Is there an API > to do this? > There is no API for it. The only way to do it is basically: virsh dumpxml myvm > foo.xml virsh undefine myvm virsh define foo.xml - Cole ___

Re: [libvirt-users] Python XML parsing of domain descriptions?

2010-10-01 Thread Cole Robinson
On 10/01/2010 12:19 PM, Stanley, Jon [Tech] wrote: > Does anyone know of a way to parse the libvirt XML into usable python data > structures? Ideally, it would be something like > foo['domain']['devices']['bridge'][0]['target'] or something of the sort. > What I'm looking to accomplish is to fig

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

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

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 ___ libvir

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 ru

  1   2   >