Displaying 20 results from an estimated 400 matches similar to: "virDomainBlockInfo for local volume"
2016 Dec 20
1
Re: virDomainBlockInfo for local volume
On 12/05/2016 05:27 AM, Shahar Havivi wrote:
> Ping
>
Sorry for the delay... Lots of investigation, patches, and other work.
> On Wed, Nov 30, 2016 at 3:13 PM, Shahar Havivi <shavivi@redhat.com
> <mailto:shavivi@redhat.com>> wrote:
>
> Hi,
>
> I am using virStorageVolGetInfo to get the volume size
> virStorageVol.download to download a
>
2016 Dec 05
0
Re: virDomainBlockInfo for local volume
Ping
On Wed, Nov 30, 2016 at 3:13 PM, Shahar Havivi <shavivi at redhat.com> wrote:
> Hi,
>
> I am using virStorageVolGetInfo to get the volume size
> virStorageVol.download to download a
> normal file for VDSM project.
>
> I want to add support for block devices as well, I was able to see the size
> via virDomainBlockInfo and download via virDomain.blockPeek which
2010 Jul 08
1
Blockpeek.. A little help please
Hi,
I'm trying to use blockpeek to open the contents of a file. Inside the vm i ran debugfs: imap /test/findme and got: inode 32642 is part of block group 4 located at block 131074, offset 0x0100
I try using 0x100 or 256 as the offset to blockpeek into that VM and get nonsense as a result.
Am I calculating the offset incorrectly, is there a better way to find a file's location on
2007 Aug 23
1
figure-definition and heatmap question
Hello,
I have two questions. I'd like to visualize data with a heatmap and I have the
following testcase:
x <- rnorm(256)
nx <- x + abs(min(x))
nnx <- 255/max(nx) * nx
x <- matrix(nnx, 16, 16)
rownames(x) <-
2011 Feb 14
1
Use libvirt-python to attach cdrom
Hi all,
I want to attach cdrom by libvirt.py .But can't find a func in
libvirt.py can finish this work.
Who can help me ?
Regard
--
Seven Ling
E-mail: jiejie.ling at qq.com
2012 Apr 05
3
Dial Plan - Routing via Caller ID
I am running Asterisk 1.8.10.1.
I am trying to set up some routing in my dial plans and having some issues
(the issue being that I don't quite understand all of the syntax and
patterns that can be used:
Examples:
DID1 = 6140000000
DID2 = 6140000001
CNAME1 = 6149999999
CNAME2 = 6149999998
CNAME3 = 6149999997
context1
context2
context3
I have looked at several examples (patterns) and I
2011 Jan 03
1
availability of snapshots functionality via Python bindings
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everyone,
Is this being worked on? I rather need this thing...
Although my system is Debian Lenny, not RH:
kulfon 10.0.0.228 /etc/default % dpkg -l | grep libvirt
ii libvirt-bin 0.4.6-10+lenny1 the
programs for the libvirt library
ii libvirt0 0.4.6-10+lenny1
library for
2012 May 09
3
creating a domain
hi,
i am a bit confused on how to start an inactive domain using the python bindings, any help would be appreciated.
(inactive as in the domain was created with?virConnect.defineXML sometime in the past)
looks like i have to use virDomain.create, however virDomain.create needs a defined domain xmldesc as a parameter and i am not sure on how to get that
i guess if?virConnect.create was
2010 Jun 30
0
Are memoryPeek and blockPeek still not supported?
Hi,
I just tried x=dom.blockPeek('disk',5,0,buf,0) and it returns AtrributeError: 'module' object has no attribute 'virDomainBlockPeek'
I found this bug submission from early 09: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=492683
Is that still correct are they not implemented. Or did i screw up the command?
Thanks,
Steve
2012 May 05
1
printing domain information
how do i print the features of a domain from functions that return a domain object?
for instance mydomain =?virdomain=libvirt.virConnect.lookupByID(conn,domainid)
so mydomain is?virDomainPtr, which is?typedef virDomain * virDomainPtr
i am not sure on how to print the domain object features in python, such as name, disk size, etc
2020 Jan 10
2
Re: [PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
On Fri, Jan 10, 2020 at 02:15:10PM +0000, Daniel P. Berrangé wrote:
> Do you use the libvirt "secret" APIs at all (disk encryption, network
> disk auth passwords) ? If so you will need "libvirt-daemon-driver-secret"
> too. How about any other libvirt sub-driver APIs ? Networking ? Host
> dev, etc ?
The full list of APIs we use is attached, assuming I got my
2020 Jan 10
2
Re: [PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
On Friday, 10 January 2020 15:39:21 CET Daniel P. Berrangé wrote:
> On Fri, Jan 10, 2020 at 02:26:35PM +0000, Richard W.M. Jones wrote:
> > On Fri, Jan 10, 2020 at 02:15:10PM +0000, Daniel P. Berrangé wrote:
> > > Do you use the libvirt "secret" APIs at all (disk encryption, network
> > > disk auth passwords) ? If so you will need
2015 Nov 18
2
enabling virtio-scsi-data-plane in libvirt
Can somebody knows how to enable virtio-scsi-data-plane in libvirt for
specific domain?
I know that i need to replace "-device virtio-scsi-pci" with "-object
iothread,id=io1 -device virtio-scsi-pci,iothread=io1" in qemu, but how
can i do this in libvirt?
--
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru
2019 Aug 14
2
Libvirt API for attaching volume to domain
Hi,
I wanted to know if there is any Python API exposed for libvirt using which
I can attach a libvirt volume to a libvirt domain/VM.
I intend to do something similar to the `attach-disk` command of virsh
using python.
--
*Regards,*
*Varsha Verma*
*Final Year Undergraduate*
*Department of Electrical Engineering*
*IIT-BHU, Varanasi*
2013 Jul 19
2
How to insert vcpupin in guest xml file
Hi all,
I am trying to add vcpupin in the guest xml file. I am working with openstack and the code I have is python bound. I investigated through the code and found that the elemets in xml file are set in get_guest_config function. Now the thing is I am not able to set vcpupin element. I mean I tried guest.cputune_vcpupin but it's not working.
Help me out, please!
Thanks.
~Peeyush Gupta
2020 Jan 10
1
Re: [PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
On Friday, 10 January 2020 17:34:27 CET Daniel P. Berrangé wrote:
> > > > virStoragePoolFree (
> > > > virStoragePoolGetInfo (
> > > > virStoragePoolLookupByName (
> > > > virStorageVolFree (
> > > > virStorageVolGetInfo (
> > > > virStorageVolGetPath (
> > > > virStorageVolLookupByName (
> > >
> >
2012 May 06
0
storage-pools and volumes
hi,
i am trying to create a domain using libvirt 0.9.4 python api and i can't find any information on how to use the libvirt python api with linux logical volumes
http://libvirt.org/guide/html-single/#Application_Development_Guide-Device_Config-Disks is TBD
i figured out that i need to use defineXML to create a domain, however for the disk part in the xml, i am not sure if i need to create
2013 Aug 22
1
Re: QemuAgentCommand API documents
----- Original Message -----
> From: "Michal Privoznik" <mprivozn@redhat.com>
> To: "Praveen Kumar" <prkumar@redhat.com>
> Cc: libvirt-users@redhat.com
> Sent: Thursday, August 22, 2013 1:15:54 PM
> Subject: Re: [libvirt-users] QemuAgentCommand API documents
>
> The API you're looking for is the one you've found:
>
2015 Nov 30
2
Re: enabling virtio-scsi-data-plane in libvirt
2015-11-19 16:09 GMT+03:00 John Ferlan <jferlan@redhat.com>:
> Check out virsh iothread{info|pin|add|del} and of course the
> corresponding virDomain{Add|Pin|Del}IOThread and virDomainGetIOThreadInfo.
Yes, thanks! Does in near feature libvirt devs integrate this ability
to domain format? As i understand all qemu stable features supported
by libvirt. And data plane for virtio-blk is
2012 May 07
1
libvirt python api for storage-volumes and storage-pools
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
thanks