search for: blockpeek

Displaying 7 results from an estimated 7 matches for "blockpeek".

Did you mean: block_peek
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 incorre...
2016 Nov 30
2
virDomainBlockInfo for local volume
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 is works fine for both file and block device. 1. Can I depend on virDomainBlockInfo for non block devices? 2. Does the virDomainBlockInfo return the correct physical size for normal file? 3. Performance wise do we have a difference between virStorageVol.download and virDomain.blockPeek? As...
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...
2016 Dec 20
1
Re: virDomainBlockInfo for local volume
...ormal file for VDSM project. Normal as in a 'raw' fully allocated file? As opposed to a sparse and/or container (e.g. qcow2) file? > > 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 is > works > fine for both file and block device. As described in the bz, but for others benefit... While looking into this I found a commit Eric Blake made: http://libvirt.org/git/?p=libvirt.git;a=commit;h=0282ca45a0a4c384226d526d4878cacd77936ef4 which more or less summarize...
2016 Dec 05
0
Re: virDomainBlockInfo for local volume
...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 is works > fine for both file and block device. > > 1. Can I depend on virDomainBlockInfo for non block devices? > 2. Does the virDomainBlockInfo return the correct physical size for normal > file? > 3. Performance wise do we have a difference between virStorageVol.download...
2011 Jan 03
1
availability of snapshots functionality via Python bindings
...e via libvirt.virDomain: >>> dir(dom0) ['ID', 'OSType', 'UUID', 'UUIDString', 'XMLDesc', '__del__', '__doc__', '__init__', '__module__', '_conn', '_o', 'attachDevice', 'autostart', 'blockPeek', 'blockStats', 'connect', 'coreDump', 'create', 'destroy', 'detachDevice', 'info', 'interfaceStats', 'maxMemory', 'maxVcpus', 'memoryPeek', 'migrate', 'name', 'pinVcpu', 'reboot&...
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