<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffcc" text="#000000">
Hello,<br>
<br>
Few days ago I have proposed to implement the snapshot mode
functionality for esx/vpx:<br>
<code>Mail subject: "[libvirt] VMWare "independent disk" processing
needed"<br>
Sent: "04.07.2011"<br>
Sender: <a class="moz-txt-link-rfc2396E" href="mailto:computernews@rambler.ru">"computernews@rambler.ru"</a><br>
</code><br>
What I meant is to allow "libvirt" to handle (see full .vmx
attached) :<br>
<code>vmx: scsi0:1.mode = "independent-persistent"<br>
vmx: scsi0:2.mode = "independent-nonpersistent"</code><br>
<br>
As none has responded I decided to start implementing that myself. <br>
<br>
By now I have the managed to implement the .vmx -> .xml part.
According to "General tips for contributing patches" (<a
href="http://libvirt.org/hacking.html#patches">http://libvirt.org/hacking.html#patches</a>)
I am sending the patch back to the community as early as it has
sense as I still hope to contribute this feature to the community.
It builds and has been functionally tested. I also tried my best to
stick to coding conventions applied on the project. So I hope my
patch will not take long time to analyze for someone experienced
enough. <br>
<br>
I saw someone already has started (put few comments about snapshot
modes in src/vmx/vmx.c). So tried to undestand an original idea and
keep up with it. I hope I was not wrong there. <br>
<br>
I am willing to keep working in this direction. So if someone would
be so kind to take a look at my efforts and provide a feedback - it
would be very nice and, I hope, useful for the rest of the project.
<br>
<br>
Attached are: <br>
1. patch itself<br>
2. ".vmx" file I am testing on<br>
3. ".xml" file produced by my changes<br>
<br>
Looking forward to hear any feedback/criticism/advices. Thanks in
advance.<br>
<br>
Best regards<br>
Oleh Paliy<br>
</body>
</html>