virt-manager alt-click passthrough?

2022-09-10 Thread Alex
Hi, I'm using virt-manager to connect to a Windows 10 virtual machine, where I'm using photoshop. I need to send an alt-click key for some functions, but virt-manager is instead interpreting them. It isn't among the pre-configured options that can be sent. Is there a way to remap the alt key or al

Re: issues with vm after upgrade

2021-08-30 Thread Alex Williamson
entional PCI (since they don't have any > "Express Capabilities Data"); this would explain why it's wanting to > assign it to a pcie-to-pci-bridge. Maybe we should just always assign > devices to PCIe slots when the guest is Q35 though. Alex - what's your > opini

Updating dnsmasq options with virsh net-update

2021-03-17 Thread Alex Crawford
net-dumpxml crawford-libvirt-67v2h | grep --count 0 Can anyone tell me what I'm doing wrong or how this feature was intended to be used? Thank you. -Alex

Re: PCI Passthrough and Surprise Hotplug

2020-10-06 Thread Alex Williamson
ve access to the device at that bus address? Why? What if it's an entirely new and different device? Who decides? Someone needs to decide that this is a worthwhile feature to implement and invest time to work out all these details before it "just works". Perhaps you could share your use case to add weight to whether this is something that should be pursued. The behavior you see is expected and there is currently no ETA (or active development that I'm aware of) for the behavior you desire. Thanks, Alex

Re: libvirt segfaults with "internal,error: Missing monitor reply object", during block live-migration

2020-07-31 Thread Alex Walender
Hi Peter, I have attached a trace via coredump. Best Regards Am 30.07.20 um 17:03 schrieb Peter Krempa: > On Thu, Jul 30, 2020 at 16:13:09 +0200, Alex Walender wrote: >> Dear libvirt community, >> >> >> Using recent Ubuntu Stein Cloud Packages, we are observ

libvirt segfaults with "internal,error: Missing monitor reply object", during block live-migration

2020-07-30 Thread Alex Walender
untu1~cloud0 nova-compute-libvirt 2:19.2.0-0ubuntu1~cloud0 I have attached source/destination debug logs from libvirtd and nova-compute here: https://denzelx.ddns.net/index.php/s/KPJ7vv4aTcb69XD Any help would be nice! Best Regards -- M.Sc Alex Walender de.NBI Cloud Bielefeld Administrator C

Help with external snapshots as backups

2020-07-11 Thread Alex Regan
ec file=/var/lib/libvirt/images/vm_snapshots/mem-overlay.qcow2,snapshot=external --atomic Domain snapshot win10a-state01 created # ls -lh vm_snapshots/ total 3.3G -rw--- 1 qemu qemu 196K Jul 11 12:32 disk-overlay.qcow2 -rw--- 1 root root 3.3G Jul 11 12:32 mem-overlay.qcow2 Thanks, Alex

Re: [libvirt-users] [iGVT-g] GVT-g - suboptimal user experience

2019-05-08 Thread Alex Ivanov
;>  -Original Message- >>  From: iGVT-g [mailto:igvt-g-boun...@lists.01.org] On Behalf Of Alex Ivanov >>  Sent: Friday, April 19, 2019 2:51 AM >>  To: libvirt-users@redhat.com; igv...@lists.01.org; >> virt-tools-l...@redhat.com >>  Subject: [iGVT-g] GVT-g

[libvirt-users] GVT-g - suboptimal user experience

2019-04-18 Thread Alex Ivanov
Hi. In the current state of gvt-g the user experience is suboptimal. So my question is what are the ETAs for following features: 1. Accelerated virt-manager console using gvt-g device 2. Custom resolutions or dynamic resolution 3. UEFI VMs support (Windows guest) Thanks. __

Re: [libvirt-users] Clock skew on Win10

2019-04-01 Thread Alex
andom number of hours. Any ideas greatly appreciated. On Tue, Mar 12, 2019 at 9:17 AM Alex wrote: > > Hi, > > I'm having a problem with significant clock skew on fedora29 with > qemu-system-x86-3.0.0 and ibvirt-daemon-kvm-4.7.0. This is on my > desktop and appears to ha

[libvirt-users] Clock skew on Win10

2019-03-12 Thread Alex
Hi, I'm having a problem with significant clock skew on fedora29 with qemu-system-x86-3.0.0 and ibvirt-daemon-kvm-4.7.0. This is on my desktop and appears to happen between suspends of the host each night. It appears like the time just stops while the guest is suspended, of course, but then doesn'

[libvirt-users] Adjusting vram for windows/photoshop

2018-04-04 Thread Alex
Hi, I have a fedora27 system with a win10 guest trying to use photoshop 2015. I've adjusted the vram parameter for the guest to 512M with QXL, but photoshop still reports "3D features and some filters require 512MB vRAM and photoshop has detected less than that on your system." What is the proper

Re: [libvirt-users] Increasing video memory available to Windows

2017-08-05 Thread Alex
Hi, On Sun, Jul 23, 2017 at 3:45 PM, Pavel Hrdina wrote: > On Sat, Jul 22, 2017 at 03:03:06PM -0400, Alex wrote: >> Hi, >> I have a fedora25 system with a Windows10 host and would like to use >> it for photoshop. However, it complains the video memory is too low. >> I

[libvirt-users] Increasing video memory available to Windows

2017-07-23 Thread Alex
d 2047 MB Shared System Memory. Attempts to modify with "virsh edit" the vram and other video-related variables for the host have failed. Included below is my qemu XML configuration. Any idea greatly appreciated. alex-win10 337f9410-3286-4ef5-a3e8-8271e38

Re: [libvirt-users] [Qemu-devel] pci-assign fails with read error on config-space file

2016-10-28 Thread Alex Williamson
we should even consider removing it in the QEMU2.8 release cycle. Use vfio-pci and use the mechanisms provided in libvirt to attach the device to the VM, if these don't work, file bugs and improve the environment to meet your needs rather than working around it. I can't figure out from

Re: [libvirt-users] [Qemu-devel] VFIO PCIe Extended Capabilities

2016-07-19 Thread Alex Williamson
age or any > attachments. Delete this email message and any attachments immediately. You're sending email to a public list, please stop including these. Thanks, Alex ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

[libvirt-users] ssh-askpass in libvirt

2016-04-20 Thread Alex Roithman
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-users mailing list libvirt-users@redhat.com https:/

[libvirt-users] this function is not supported by the connection driver: virDomainCoreDump

2016-04-18 Thread Alex Font
VM's? Thanks in advance. Alex ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

[libvirt-users] virtlogd.socket: Failed to listen on sockets: Permission denied

2015-12-16 Thread Alex Roithman
Fedora rawhide libvirt 1.3.0 http://ur1.ca/ocip1 Is necessary to make a special rule for this socket in SELinux? ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] PCI passthrough fails in virsh: iommu group is not viable

2015-09-24 Thread Alex Holst
Quoting Laine Stump (la...@laine.org): > On 08/12/2015 02:34 PM, Alex Holst wrote: > > I would really appreciate some pointers on what I am doing wrong here. > > > > I have a need to run multiple virtual guests which have each their own GPU > > and > > some USB

[libvirt-users] virt-install and kickstart networking

2015-09-21 Thread Alex
emory 1024 --virt-type kvm \ --disk path=/var/lib/libvirt/images/testme.qcow2,size=16 \ --network bridge=br0:eth0,mac=52:54:00:35:dd:67 \ --os-variant=fedora22 \ --location http://192.168.1.7/~alex/fedora22/ \ --initrd-inject anaconda-setup.cfg --extra-args &qu

[libvirt-users] PCI passthrough fails in virsh: iommu group is not viable

2015-08-12 Thread Alex Holst
/kvm-spice

Re: [libvirt-users] Slow network performance issues

2015-07-02 Thread Alex
ied doesn't appear to work. How would you change the speed to 10mbs, for example? Thanks, Alex ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

[libvirt-users] Slow network performance issues

2015-06-28 Thread Alex Regan
isable-ticketing,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,addr=0x2 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 Any ideas greatly

Re: [libvirt-users] Resizing lvm fails with fedora20

2015-01-15 Thread Alex Regan
Hi, On 01/12/2015 03:13 AM, Michal Privoznik wrote: On 11.01.2015 02:57, Alex Regan wrote: Hi, I'm trying to resize a 15GB LVM root partition on a fedora20 server with a fedora20 guest and I'm having a problem. Is this supported on fedora20? I recall having a similar problem (maybe

[libvirt-users] Resizing lvm fails with fedora20

2015-01-10 Thread Alex Regan
/lvmetad.socket: connect failed: No such file or directory Refusing activation of partial LV home. Use --partial to override. What are my alternatives for resizing a root partition on LVM? Thanks, Alex ___ libvirt-users mailing list libvirt-users@r

Re: [libvirt-users] Virtual gaming/workstation desktops using KVM VGA passthrough?

2014-10-07 Thread Alex G.S.
y problem free and more predictable when it comes to passthrough? Best, AlexGS On Mon, Oct 6, 2014 at 11:46 PM, Alex Williamson wrote: > On Mon, 2014-10-06 at 22:59 -0400, Alex G.S. wrote: > > GizmoChicken, > > > > Read that there's a problem with Nvidia GeForce GTX car

Re: [libvirt-users] Virtual gaming/workstation desktops using KVM VGA passthrough?

2014-10-06 Thread Alex Williamson
On Mon, 2014-10-06 at 22:59 -0400, Alex G.S. wrote: > GizmoChicken, > > Read that there's a problem with Nvidia GeForce GTX cards and both Xen and > KVM, like it's not on a Nvidia whitelist, I'm a bit concerned. From the > ArchLinux thread I've seen some su

Re: [libvirt-users] Virtual gaming/workstation desktops using KVM VGA passthrough?

2014-10-06 Thread Alex G.S.
it.com/r/linux/comments/23lpa6/question_where_are_we_with_video_card_passthrough/ Do I need a Quadro for this? In that case it would be impossible to justify. Originally the GeForce GTX 750 Ti seemed like the ideal card for this type of deployment. Now I'm wondering if AMD is safer for the VDI guest. What should I do? CC'

[libvirt-users] Virtual gaming/workstation desktops using KVM VGA passthrough?

2014-10-03 Thread Alex G.S.
Dear List, Recently I read an article [1] about how to use KVM and VGA passthrough to create multiple GPU accelerated VM's for use in gaming or as virtual workstations: [1] http://www.pugetsystems.com/labs/articles/Multiheaded-NVIDIA-Gaming-using-Ubuntu-14-04-KVM-585/ I'm planning on building a

[libvirt-users] Problems with pmsuspend/wakeup

2014-01-26 Thread Alex
t's running, but the vm is still unresponsive. It doesn't respond to ping and the display is just black when accessing it through virt-manager. Is there something I need to do in the guest for it to wake up properly? How can I just prevent it from ever suspending in

[libvirt-users] Dedicated GDM session for a virt-manager virtual machine?

2014-01-14 Thread Alex GS
Dear list, Something has been perplexing me lately. I have a bunch of Windows 7 virtual machines running on top of Fedora 20 in KVM using virt-manager. One of the big problems is that users who need the Windows VM's don't know how to user virt-manager and when they accidentally reboot a machine

[libvirt-users] QXL and VRAM settings in Virsh/Virt-Manager

2013-12-17 Thread Alex GS
Hello list, Having a bit of an issue with virt-manager and virsh on Fedora 19/20. I've created several virtual guest machines, one of them is Windows. I've selected QXL and everything is working normally. The only part that's giving me trouble is that I'm unable to set the QXL VRAM higher than

[libvirt-users] Resize errors with virt-resize/vgchange

2013-07-21 Thread Alex
G 6.3G 55% / tmpfs 7.9G 0 7.9G 0% /tmp /dev/mapper/prop-boot 477M 95M 358M 21% /boot /dev/mapper/prop-home 222G 212G 9.9G 96% /home The image is the 222G /home partition only. The other partitions are on another image. Any ideas how to troubleshoot this would be

Re: [libvirt-users] libvirtd using 11GB

2013-04-16 Thread Alex Leonhardt
Ah great, thanks! Alex On 16 April 2013 09:55, Michal Privoznik wrote: > On 16.04.2013 10:34, Alex Leonhardt wrote: > > Hi All, > > > > Am new to this list, and have asked in #ovirt / ovirt-users list and > > they pointed me to here ... I've seen libvirtd usi

[libvirt-users] libvirtd using 11GB

2013-04-16 Thread Alex Leonhardt
version that maybe fixes a memory leak ?? Thanks in advance, Alex -- | RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co | www.vsearchcloud.com | ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] [libvirt] how to use svirt

2013-04-02 Thread Alex Jia
On 04/03/2013 10:25 AM, yue wrote: hi,all i know svirt is merged into libvirt upstream, but how to use them? You had better to ask this kind of question to libvirt-users@redhat.com in the future, it's a user mail listing, you may ask all kind of libvirt usage questions if you want, the fol

Re: [libvirt-users] Errors while using blkiotune command

2013-03-19 Thread Alex Jia
-- Regards, Alex - Original Message - From: "Saurabh Deochake" To: libvirt-users@redhat.com Sent: Tuesday, March 19, 2013 3:00:53 PM Subject: [libvirt-users] Errors while using blkiotune command Hi all, I want to limit the I/O bandwidth inside the container,

Re: [libvirt-users] Inconsistent iptables forwarding rules for virtual networks?

2012-09-27 Thread Alex Jia
Hi Marwan, I remember libvirt has a similar bug, but I forgot bug number, Laine can help confirm this, could you provide your libvirt version? thanks. -- Regards, Alex - Original Message - From: "Marwan Tanager" To: libvirt-users@redhat.com Sent: Wednesday, September 2

[libvirt-users] Fwd: vm pxe fail

2012-08-31 Thread Alex Jia
- Forwarded Message - From: "Alex Jia" To: "Andrew Holway" Cc: k...@vger.kernel.org Sent: Friday, August 31, 2012 10:37:23 PM Subject: Re: [libvirt-users] vm pxe fail Hi Andrew, Great, BTW, in fact, you may pxe boot via VF of Intel82576, however, Intel82576 SR-

Re: [libvirt-users] delete storage pool error

2012-08-28 Thread Alex Jia
gremove -f lvm_pool) status unexpected: exit status 5 how to solve this problem? 'exit status 5' should be volume group "xxx" not found, so please make sure the pool name is correct and valid, in fact, you directly run '/sbin/vgremove -f lvm_pool' then w

Re: [libvirt-users] What's the api virConnectBaselineCPU used for?

2012-08-27 Thread Alex Jia
nt and its contents as printed by capabilities command. The guest CPU definition is the element and its contents from domain XML definition. For more information on guest CPU definition see: <http://libvirt.org/formatdomain.html#elementsCPU> -- Regards, Alex -

Re: [libvirt-users] automatically detaching PCI host devices from guest for SRIOV usage.

2012-08-27 Thread Alex Jia
Hi Rajesh, I guess you forgot to attach your attachments in here. As usual, I tried to directly assign a PF or VF of the Intel82576 to guest on RHEL6.2, my box is Dell Optiplex 755. -- Regards, Alex - Original Message - From: "Rajesh Kumar Mallah" To: "Alex Ji

Re: [libvirt-users] automatically detaching PCI host devices from guest for SRIOV usage.

2012-08-22 Thread Alex Jia
- Original Message - From: "Rajesh Kumar Mallah" To: "Alex Jia" Cc: libvirt-users@redhat.com, "vikas pandey" Sent: Wednesday, August 22, 2012 7:37:05 PM Subject: Re: [libvirt-users] automatically detaching PCI host devices from guest for SRIOV usage. |

Re: [libvirt-users] automatically detaching PCI host devices from guest for SRIOV usage.

2012-08-22 Thread Alex Jia
- Original Message - From: "Rajesh Kumar Mallah" To: "Alex Jia" Cc: libvirt-users@redhat.com, "vikas pandey" Sent: Tuesday, August 21, 2012 9:13:33 PM Subject: Re: [libvirt-users] automatically detaching PCI host devices from guest for SRIOV usage. D

Re: [libvirt-users] automatically detaching PCI host devices from guest for SRIOV usage.

2012-08-20 Thread Alex Jia
On 08/21/2012 11:22 AM, Rajesh Kumar Mallah wrote: Dear Alex / List , Thanks for the response. The problem is regarding detaching from the guest not host. I see, if you attach a PCI device into guest with 'managed' mode(managed='yes') then the device is automatically

Re: [libvirt-users] automatically detaching PCI host devices from guest for SRIOV usage.

2012-08-20 Thread Alex Jia
that matter destroyed). When *|managed|* is *"yes"* for a PCI device, it is automatically detached from the host before being passed on to the guest, and automatically *reattached* to the host after the *guest exits* such as shutdown a guest. Regards, Alex Regards, Rajesh Kumar

[libvirt-users] Fwd: vm pxe fail

2012-08-17 Thread Alex Jia
- Forwarded Message - From: "Andrew Holway" To: "Alex Jia" Cc: k...@vger.kernel.org Sent: Friday, August 17, 2012 4:24:33 PM Subject: Re: [libvirt-users] vm pxe fail Hello, On Aug 17, 2012, at 4:34 AM, Alex Jia wrote: > Hi Andrew, > I can't conf

Re: [libvirt-users] libvirt windows error

2012-08-01 Thread Alex Jia
Hi zhijun, You may refer to the following link firstly: http://libvirt.org/windows.html Sorry, I haven't a Windows 7 (64-bit) on my hand, so can't try it now, but you may provide more debugger information then libvirt developers will help you resolve it if it's a issue. -- Reg

Re: [libvirt-users] Using virsh to load scripts for the guest machine

2012-07-30 Thread Alex Jia
Hi Mauricio, Perhaps the following link is what you want: http://libvirt.org/formatdomain.html#elementsTime (Time keeping) -- Regards, Alex - Original Message - From: "Mauricio Tavares" To: "libvirt-users" Sent: Tuesday, July 31, 2012 2:00:40 AM Subject

[libvirt-users] Matching host and guest CPU

2012-07-19 Thread Alex
tart /usr/bin/qemu-kvm

Re: [libvirt-users] How does libvirt interaction with KVM to create a VM?

2012-06-28 Thread Alex Jia
On 06/28/2012 05:21 PM, Dennis Chen wrote: All, These days I am trying to understand the interaction relationship between the libvirt and KVM kernel module, eg. kvm_intel.ko. We know that KVM kernel module expose an entry in form of device file "/dev/kvm" which can be accessed by user space

Re: [libvirt-users] Is it possible to in live migration?

2012-06-24 Thread Alex Jia
erver Good Luck! Alex - Original Message - From: "GaoYi" To: libvirt-users@redhat.com Sent: Monday, June 25, 2012 12:27:44 PM Subject: [libvirt-users] Is it possible to in live migration? Hi all, In live migration using shared memory, there would be a following step to inpu

Re: [libvirt-users] caps->nguests == 0?

2012-06-19 Thread Alex Jia
On 06/19/2012 02:56 PM, Zhihua Che wrote: hi, I compiled the libvirt-0.9.10 and started the libvirtd with sudo. Unfortunately, I got an Error, saying 'virDomainDefParseXML unknown OS type hvm'. I debugged it and found in function virCapabilitiesSupportsGuestOSType, the parameter caps->nguest

Re: [libvirt-users] What's the most recent compatible libvirt and qemu-kvm?

2012-06-12 Thread Alex Jia
On 06/13/2012 01:14 PM, Alex Jia wrote: On 06/13/2012 03:59 AM, Whit Blauvelt wrote: Figured I'd test qemu-kvm-1.0.1 and libvirt-0.9.12, but the result after default compiles is: root@black:/usr/local/sbin# ./libvirtd 2012-06-12 19:53:41.894+: 6076: info : libvirt version: 0.9.12 20

Re: [libvirt-users] What's the most recent compatible libvirt and qemu-kvm?

2012-06-12 Thread Alex Jia
On 06/13/2012 03:59 AM, Whit Blauvelt wrote: Figured I'd test qemu-kvm-1.0.1 and libvirt-0.9.12, but the result after default compiles is: root@black:/usr/local/sbin# ./libvirtd 2012-06-12 19:53:41.894+: 6076: info : libvirt version: 0.9.12 2012-06-12 19:53:41.894+: 6076: warning : ebipt

Re: [libvirt-users] Which is the stable version of libvirt?

2012-06-12 Thread Alex Jia
On 06/12/2012 02:53 PM, 张章 wrote: > hi,all! > I have tried several version of libvirt(e.g 0.7.5, 0.9.9 , 0.9.12) but > each have some problems. Please raise your problems in here then I think libvirt developers will help you asap, thanks. > What's your experience using libvirt? Which version do you

Re: [libvirt-users] virsh: migration job: unexpectedly failed

2012-06-11 Thread Alex Jia
could you show your qemu-kvm or qemu-kvm-rhev version and relevant libvirtd.log? thanks. Alex working, after having to work out a few tricky preparations). Pat Wilbur My website: http://pdub.net Our book: http://runningxen.com On Jun 11, 2012 11:53 PM, "Alex Jia" <mailto:a...@r

Re: [libvirt-users] virsh: migration job: unexpectedly failed

2012-06-11 Thread Alex Jia
quot;*Live migration requirements*" section: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/chap-Virtualization_Administration_Guide-KVM_live_migration.html#item-Virtualization-Live_migration_requirements-Migration_requi

Re: [libvirt-users] virsh: migration job: unexpectedly failed

2012-06-08 Thread Alex Jia
On 06/08/2012 02:21 PM, Xing.x.Gao wrote: Hi,I am use virsh and test the migration command, on server.example.com: # rpm -qa|grep libvirt libvirt-0.9.10-21.el6.x86_64 libvirt-python-0.9.10-21.el6.x86_64 libvirt-client-0.9.10-21.el6.x86_64 # virsh version Compiled against library: libvir 0.9.10 U

Re: [libvirt-users] USB passthrough of all USB-slots to guest

2012-05-18 Thread Alex Jia
On 05/18/2012 03:16 PM, eGerlach wrote: * Alex Jia schrieb: I haven't exactly know your mean, as usual, you need to use 'lsusb' or 'virsh nodedev-list --tree' and 'virsh nodedev-dumpxml XXX' to get usb's bus+device or vendor+product information. Alex,

Re: [libvirt-users] USB passthrough of all USB-slots to guest

2012-05-17 Thread Alex Jia
On 05/18/2012 06:04 AM, eGerlach wrote: Hi, how can I define passthrough of all USB-slots to a guest with libvirt? With qemu it's very easy: # kvm -usb -usbdevice host:0.* -usbdevice host:1.* -usbdevice host:2.* -usbdevice host:3.* ... This configuration of the VM gets *all* 4 USB-Slots. E

Re: [libvirt-users] virsh console logging and pty usage

2012-05-08 Thread Alex Jia
er to the following link: http://libvirt.org/formatdomain.html#elementsConsole Good Luck! Alex - Original Message - From: "Doug Goldstein" To: libvirt-users@redhat.com Sent: Wednesday, May 9, 2012 6:03:57 AM Subject: [libvirt-users] virsh console logging and pty usage Is it pos

Re: [libvirt-users] creation of storage volume fails

2012-05-07 Thread Alex Jia
On 05/08/2012 09:58 AM, John Wayne wrote: hi, i am getting this error below when i try to create a storage volume: libvirt.virStoragePool.CreateXML(storagepoolobject,xmldesc,0) AttributeError: class virStoragePool has no attribute 'CreateXML' Please see the above error message carefully, you

Re: [libvirt-users] list storage pools and volumes using python api calls

2012-05-07 Thread Alex Jia
On 05/08/2012 03:39 AM, Syed A. Ali wrote: there is a disconnect between the methods that help(libvirt) shows for class virStorageVol and the method listed in /usr/lib64/python2.6/site-packages/libvirt.py for the same class. Yeah, in fact, you run 'import libvirt' in interactive python, it will

Re: [libvirt-users] libvirt python api for storage-volumes and storage-pools

2012-05-06 Thread Alex Jia
On 05/07/2012 01:28 PM, John Wayne wrote: hi, how do i list storage pools and volumes using the python bindings? basically the python api calls for virsh pool-list and virsh vol-list I think I have answered your question in previous mail: You may use 'dir' to list all of class/method of libvir

Re: [libvirt-users] Destroy VM failed.

2012-05-06 Thread Alex Jia
On 05/07/2012 11:12 AM, david_zhu wrote: > Hi, > > When I destroy a VM, sometimes virsh will report failed. > So I tried the following shell script: > > > -bash-4.1# for ((i=0; i<1000; i++)); do virsh start david_mac; virsh > destroy david_mac; if [ $? != 0 ] ; then echo $i; break; fi; done It alwa

Re: [libvirt-users] Libvirt LXC and VCPU?

2012-05-06 Thread Alex Jia
On 05/04/2012 04:45 PM, Samuel Hassine wrote: Hi, We are using Openstack and Libvirt/LXC as our virtualization endpoint. Here is an example of one of our libvirt domain: http://paste.debian.net/167276/ So we have 4. But the command : root@PAR-SRV-02-MASTER:/etc/libvirt/lxc# virsh --connect

Re: [libvirt-users] free memory on hypervisor

2012-05-03 Thread Alex Jia
On 05/04/2012 02:28 PM, John Wayne wrote: i am trying to get the free memory on a hypervisor using libvert, with the python api bindings as per http://libvirt.org/python.html, it should be pretty easy, however the below is failing: #conn is a connection object freemem=libvirt.virNode.getFreeMe

Re: [libvirt-users] Python Libvirt Bindings

2012-05-02 Thread Alex Jia
On 05/02/2012 03:00 PM, John Wayne wrote: Hi, Can anyone please share sample Python code for using qemu+tcp with SASL or qemu+tls with SASL? (i.e., connecting to a hypervisor using qemu+tls or qemu+tcp when a username/password using SASL has been defined on the hypervisor) Hi John, The follo

Re: [libvirt-users] question of iSCSI pool on the same iSCSI target

2012-04-27 Thread Alex Jia
Hi David, I can reproduce the issue on libvirt-0.9.10-14.el6.x86_64, it should be a libvirt bug, I'm trying to find a root reason, thanks for your reporting it. Regards, Alex - Original Message - From: "david_zhu" To: libvirt-users@redhat.com Sent: Friday, April 27, 2

Re: [libvirt-users] Error on running libvirt (dnsmasq)

2012-04-20 Thread Alex Jia
#Further_dnsmasq_info http://wiki.libvirt.org/page/FAQ Good Luck! Alex - Original Message - From: "John Wayne" To: libvirt-users@redhat.com Sent: Friday, April 20, 2012 2:01:43 PM Subject: [libvirt-users] Error on running libvirt (dnsmasq) Hi, I am running libvirt on RHEL 6.2 and getting

Re: [libvirt-users] help:any docs for open vswitch supporting?

2012-04-12 Thread Alex Jia
At present, I can only find this in libvirt upstream: http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/util/virnetdevopenvswitch.c;h=61bb9e1eae1d5f03983e1dd4d67118b24f23a0fe;hb=HEAD It should be a development stage. Regards, Alex - Original Message - From: "Wang Yue" To:

Re: [libvirt-users] help:any docs for open vswitch supporting?

2012-04-12 Thread Alex Jia
http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=WHY-OVS;hb=HEAD For more information, please see http://openvswitch.org/ then join Open vSwitch Community by subscribing related mail listing such as http://mail.openvswitch.org/mailman/listinfo/discuss Alex

Re: [libvirt-users] qemu-monitor-command

2012-03-21 Thread Alex Jia
says '/usr/bin/virsh' and `which libvirtd` says /usr/sbin/libvirtd, and socket is /var/run/libvirt/libvirt-sock not above socket path, it's right. It probably your virsh command path is /usr/local/bin/virsh, and your socket path is /var/run/libvirt/libvirt-sock now, if so, you

Re: [libvirt-users] manage VM without root access?

2012-03-18 Thread Alex Jia
omain f16 error: operation virDomainCreate forbidden for read only access Regards, Alex - Original Message - From: "Jun Koi" To: libvirt-users@redhat.com Sent: Monday, March 19, 2012 2:21:08 PM Subject: [libvirt-users] manage VM without root access? hi, with libvirt, is it possible

Re: [libvirt-users] no connection driver available for No connection for URI xen:///

2012-03-16 Thread Alex Jia
- Original Message - From: "Su Zhang" To: "Alex Jia" Cc: libvirt-users@redhat.com, "Eric Blake" Sent: Friday, March 16, 2012 10:52:32 PM Subject: Re: [libvirt-users] no connection driver available for No connection for URI xen:/// On Fri, Mar 16,

Re: [libvirt-users] no connection driver available for No connection for URI xen:///

2012-03-15 Thread Alex Jia
On 03/16/2012 12:12 PM, Su Zhang wrote: Alex, I changed the symbolic link to "/usr/local/lib/libvirt.so.0.9.10". Here is the running script: [root@XenTester libvirt-0.9.10]# rm /usr/lib64/libvirt.so.0 rm: remove symbolic link `/usr/lib64/libvirt.so.0'? yes [root@XenTester libv

Re: [libvirt-users] no connection driver available for No connection for URI xen:///

2012-03-15 Thread Alex Jia
On 03/16/2012 11:02 AM, Su Zhang wrote: On Thu, Mar 15, 2012 at 9:45 PM, Alex Jia <mailto:a...@redhat.com>> wrote: On 03/16/2012 05:33 AM, Su Zhang wrote: On Thu, Mar 15, 2012 at 4:20 PM, Eric Blake mailto:ebl...@redhat.com>> wrote: On 03/15/2012 02:57 PM,

Re: [libvirt-users] Prevent starting a guest concurrently on multiple hosts when using shared storage

2012-03-15 Thread Alex Jia
Luck! Alex On Fri, Mar 16, 2012 at 02:28:01AM +0100, Andreas Ntaflos wrote: Hi list, Scenario: Libvirt managing KVM-based guests on multiple physical virtualisation hosts. These hosts are attached to some kind of shared storage, be it NFS, GFS2 or whatever. Guest images live on the shared storage so

Re: [libvirt-users] no connection driver available for No connection for URI xen:///

2012-03-15 Thread Alex Jia
On 03/16/2012 05:33 AM, Su Zhang wrote: On Thu, Mar 15, 2012 at 4:20 PM, Eric Blake > wrote: On 03/15/2012 02:57 PM, Su Zhang wrote: > Hi all, > > I am trying to use virt-install to install domU image. However, I > encountered the following issue.

Re: [libvirt-users] Host does not support virtualization type 'xen'

2012-03-15 Thread Alex Jia
t path then libvirt hasn't found it in default place. Regards, Alex - Original Message - From: "Su Zhang" To: "Alex Jia" Cc: libvirt-users@redhat.com, "Eric Blake" Sent: Thursday, March 15, 2012 11:20:20 PM Subject: Re: [libvirt-users] Host does not supp

Re: [libvirt-users] Host does not support virtualization type 'xen'

2012-03-15 Thread Alex Jia
- Original Message - From: "Su Zhang" To: "Alex Jia" Cc: libvirt-users@redhat.com, "Eric Blake" Sent: Thursday, March 15, 2012 11:07:00 PM Subject: Re: [libvirt-users] Host does not support virtualization type 'xen' Alex, Thanks for re

Re: [libvirt-users] Host does not support virtualization type 'xen'

2012-03-15 Thread Alex Jia
Hi Su, Could you attach your virt-install log file as a attachment? for example, log file is put in $HOME/.virtinst/virt-install.log. or using virt-install with -d option then paste debugger info in here. Regards & Thanks, Alex - Original Message - From: "Su Zhang" T

Re: [libvirt-users] 回复: 回复: virsh create error : monitor socket did not

2012-03-15 Thread Alex Jia
to libvirtd.log. BTW, if you don't want log file eat your the whole disk space, please remember to change libvirtd.conf debugger level then remove libvirtd.log and restart libvirtd service. Regards, Alex   http://libvirt.org/sch

Re: [libvirt-users] virsh create error : monitor socket did not

2012-03-15 Thread Alex Jia
  So , i wonder whether my host running vms too much ?  I make sure that my template is right,  and this error occasionally appear a few times. But if you can attach your guest XML template as a attachment, maybe, I can exclude other reason.

Re: [libvirt-users] libvirt with sanlock

2012-03-14 Thread Alex Jia
On 03/14/2012 05:39 PM, Frido Roose wrote: On Wed, Mar 14, 2012 at 8:32 AM, Alex Jia <mailto:a...@redhat.com>> wrote: On 03/13/2012 10:42 PM, Frido Roose wrote: Hello, I configured libvirtd with the sanlock lock manager plugin: # rpm -qa | egrep "libvirt

Re: [libvirt-users] libvirt with sanlock

2012-03-14 Thread Alex Jia
log_filters="1:libvirt 1:conf 1:locking" log_outputs="1:file:/var/log/libvirt/libvirtd.log" 2. service libvirtd restart 3. repeat your test steps Good Luck! Alex Thanks for any advice... Frido ___ libvirt-users

Re: [libvirt-users] Booting virtual machines automatically

2012-03-05 Thread Alex Jia
using a RHEL OS. Good Luck! Alex - Original Message - From: "Daniel Gonzalez" To: "Alex Jia" Cc: libvirt-users@redhat.com Sent: Monday, March 5, 2012 6:08:18 PM Subject: Re: [libvirt-users] Booting virtual machines automatically Thanks Alex, That did the trick.

Re: [libvirt-users] can't add cpu's to virtual guest

2012-03-04 Thread Alex Jia
or am I missing something? Hi David, The current kvm doesn't support vCPU hotplug, which will be supported in the future, so you can't change vCPU number for a running guest, it's a expected result. Regards, Alex Thanks, DaveB ___ libv

Re: [libvirt-users] Booting virtual machines automatically

2012-03-01 Thread Alex Jia
Hi Daniel, The following autostart should be okay for you: # virsh help autostart NAME autostart - autostart a domain SYNOPSIS autostart [--disable] DESCRIPTION Configure a domain to be automatically started at boot. Regards, Alex - Original Message - From: "D

Re: [libvirt-users] Sys::Virt

2012-02-28 Thread Alex Jia
On 02/27/2012 11:55 PM, Evaggelos Balaskas wrote: Hi Alex, thanks for your reply, i've tried git but ... /usr/bin/perl "-Iblib/arch" "-Iblib/lib" perl-Sys-Virt.spec.PL perl-Sys-Virt.spec make: *** [perl-Sys-Virt.spec] Segmentation fault make: *** Deleting file `perl-S

Re: [libvirt-users] Sys::Virt

2012-02-26 Thread Alex Jia
Hi Evaggelos, I used latest libvirt-perl git tree, then compile it on RHEL, however, I haven't met the issue, everything is okay for me, so I want to know your platform and compilation environment. Is it okay to compile latest libvirt-perl for you? % git clone git://libvirt.org/libvirt-perl.git %

Re: [libvirt-users] lockmanager for use with clvm

2012-02-23 Thread Alex Jia
Hi Michael, The following may be helpful for you: http://fedoraproject.org/wiki/Features/VirtLockManager http://libvirt.org/locking.html Good Luck! Alex - Original Message - From: "Michael Menge" To: libvirt-users@redhat.com Sent: Thursday, February 23, 2012 7:56:33

[libvirt-users] [libvirt] a question about sanlock

2012-02-21 Thread Alex Jia
use I enable 'auto_disk_leases'. The question is the libvirtd must die due to a error users configuration? or could we give some warning information instead of libvirtd die? Thanks & Regards, Alex ___ libvirt-users mailing list lib

Re: [libvirt-users] Error deleting a volume

2012-02-17 Thread Alex Jia
clone git://libvirt.org/libvirt-perl.git Good Luck! Alex - Original Message - From: "Bo Bo" To: "Alex Jia" Cc: libvirt-users@redhat.com Sent: Friday, February 17, 2012 10:09:58 PM Subject: Re: [libvirt-users] Error deleting a volume Hello Alex, Thank you for the reply.

Re: [libvirt-users] Error deleting a volume

2012-02-16 Thread Alex Jia
using $vol->delete() to delete a volume for me, so I want to know your environment such as libvirt, perl-Sys-Virt version and os platform etc. Regards, Alex libvirt error code: 38, message: server closed connection and the init process echoes an entry to the log: init: libvirt-bin main pro

Re: [libvirt-users] [libvirt] Fail to import available VM image

2012-02-14 Thread Alex Jia
On 02/15/2012 01:35 PM, Alex Jia wrote: On 02/15/2012 12:56 PM, Jun Koi wrote: On Wed, Feb 15, 2012 at 11:32 AM, Alex Jia wrote: On 02/15/2012 10:53 AM, Jun Koi wrote: On Wed, Feb 15, 2012 at 1:01 AM, Laine Stump wrote: On 02/14/2012 11:01 AM, Jun Koi wrote: On Tue, Feb 14, 2012 at 11:47

Re: [libvirt-users] [libvirt] Fail to import available VM image

2012-02-14 Thread Alex Jia
On 02/15/2012 12:56 PM, Jun Koi wrote: On Wed, Feb 15, 2012 at 11:32 AM, Alex Jia wrote: On 02/15/2012 10:53 AM, Jun Koi wrote: On Wed, Feb 15, 2012 at 1:01 AM, Laine Stumpwrote: On 02/14/2012 11:01 AM, Jun Koi wrote: On Tue, Feb 14, 2012 at 11:47 PM, Alex Jiawrote: Hi Jun, I

Re: [libvirt-users] [libvirt] Fail to import available VM image

2012-02-14 Thread Alex Jia
On 02/15/2012 10:53 AM, Jun Koi wrote: On Wed, Feb 15, 2012 at 1:01 AM, Laine Stump wrote: On 02/14/2012 11:01 AM, Jun Koi wrote: On Tue, Feb 14, 2012 at 11:47 PM, Alex Jia wrote: Hi Jun, I assume you haven't changed libvirt default URI, it may be a issue, I want to know whether it

  1   2   >