<h3><a name="virDomainBlockPeek" id="virDomainBlockPeek"><code></code></a></h3><h3><a name="virDomainBlockPeek" id="virDomainBlockPeek"><code></code></a></h3><h3><a name="virDomainBlockPeek" id="virDomainBlockPeek"><code></code></a></h3>
<h3><span style="font-weight: normal;">Hello,</span></h3><h3><b><span style="font-weight: normal;"></span></b></h3><h3><b><span style="font-weight: normal;">I am </span>able to compile libvirt samples on my KVM hypervisor. (I edited and recompiled info.c code)<br>
</b></h3>I am creating a sample code to read/write disk devices.<br>With method <b><span style="font-weight: normal;">virDomainBlockPeek I can</span></b><b> read sectors from a given device attached to a KVM virtual guest.</b><h3>
<b>I am not able to</b> find an API to write sectors on a disk: am I missing something ?</h3>Is there such method to write sectors from a given virtual disk ?<br><br><h3><br></h3><h3>Thanks,</h3><h3>Francesco<br><a name="virDomainBlockPeek" id="virDomainBlockPeek"><code></code></a></h3>