<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">thank you!<div>could you show me a xml example for live migration?</div><div>I think maybe i have something wrong in it?</div><div>it is my xml :</div><div><div><domain type='kvm'></div><div>  <name>vm12</name></div><div>  <uuid>7d620b81-ab66-a1df-9d36-38df867c3108</uuid></div><div>  <memory>5000000</memory></div><div>  <currentMemory>5000000</currentMemory></div><div>  <vcpu>2</vcpu></div><div>  <os></div><div>    <type arch='x86_64' machine='pc-1.0'>hvm</type></div><div>    <boot dev='hd'/></div><div>  </os></div><div>  <features></div><div>    <acpi/></div><div>    <apic/></div><div>    <pae/></div><div>  </features></div><div> 
 <clock offset='utc'/></div><div>  <on_poweroff>destroy</on_poweroff></div><div>  <on_reboot>restart</on_reboot></div><div>  <on_crash>restart</on_crash></div><div>  <devices></div><div>    <emulator>/usr/bin/kvm</emulator></div><div>    <disk type='file' device='disk'></div><div>      <driver name='qemu' type='qcow2'/></div><div>      <source file='/share/vm12.img'/></div><div>      <target dev='vda' bus='virtio'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/></div><div>    </disk></div><div>    <interface type='bridge'></div><div>      <mac address='52:54:00:20:ca:c1'/></div><div>      <source bridge='br0'/></div><div>      <model
 type='virtio'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/></div><div>    </interface></div><div>    <serial type='pty'></div><div>      <target port='0'/></div><div>    </serial></div><div>    <console type='pty'></div><div>      <target type='serial' port='0'/></div><div>    </console></div><div>    <input type='mouse' bus='ps2'/></div><div>    <graphics type='vnc' port='5912' autoport='no' keymap='en-us'/></div><div>    <sound model='ich6'></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/></div><div>    </sound></div><div>    <video></div><div>      <model type='cirrus' vram='9216'
 heads='1'/></div><div>     <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/></div><div>    </video></div><div>    <memballoon model='virtio'></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/></div><div>    </memballoon></div><div>  </devices></div><div></domain></div><div>           </div>--- <b>12年7月10日,周二, Eric Blake <i><eblake@redhat.com></i></b> 写道:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>发件人: Eric Blake <eblake@redhat.com><br>主题: Re: [libvirt-users] live migration<br>收件人: "hcyy" <caiyanyang@yahoo.com.cn><br>抄送: libvirt-users@redhat.com<br>日期: 2012年7月10日,周二,下午9:19<br><br><div class="plainMail">On 07/10/2012
 06:46 AM, hcyy wrote:<br>> Hello, everybody.     I use NFS to do live migration。After input  virsh<br>> --connect=qemu:///system --quiet migrate --live vm12 qemu+tcp://pcmk-1/system  (vm12  is vm name,/pcmk-1 is host name)it use almost 10s for preparation. During the 10s,the vm is still runing and can ping other vm. But if i input mkdir pcmk-6 in vm during the 10s,it say :mkdir: cannot create directory `pcmk-6': Read-only file system.     Anybody can tell me this situation is due to my wrong configure or libvirt cannot mkdir during migration?thanks!<br><br>The act of migration should not be guest-visible, so if you are seeing a<br>read-only directory from within your guest, it is most likely some other<br>issue and not migration itself that caused the problem.<br><br>-- <br>Eric Blake   <a ymailto="mailto:eblake@redhat.com"
 href="/mc/compose?to=eblake@redhat.com">eblake@redhat.com</a>    +1-919-301-3266<br>Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br><br><br><br></div></blockquote></div></td></tr></table>