qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-io capabilities exposed through APIs
@ 2009-05-21 16:41 Francesco Latino
  0 siblings, 0 replies; only message in thread
From: Francesco Latino @ 2009-05-21 16:41 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

hello,

I am writing a C code that discovers and browses virtual images on a KVM
server.
I can discover virtual images with libvirt API.
I can correctly read (bytes - by - bytes ) virtual images with qemu-io -c
"read -v 0 512" command line.

But I prefer to perform this step by calling a library and not the qemu-io
command line.

Are the qemu-io capabilites exposed through a shared object I can
dynamically load at runtime ?

I mean I need something like the libvirt virDomainBlockPeek.

Ex:
sectors = qemu_read_sector_from_image () -> which works just like qemu-io -c
"read -v "


Thanks,
Francesco

[-- Attachment #2: Type: text/html, Size: 691 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-21 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-21 16:41 [Qemu-devel] qemu-io capabilities exposed through APIs Francesco Latino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).