thank you!
could you show me a xml example for live migration?
I think maybe i have something wrong in it?
it is my xml :
<domain type='kvm'>
    <type arch='x86_64' machine='pc-1.0'>hvm</type>
    <boot dev='hd'/>
  <clock offset='utc'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/share/vm12.img'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    <interface type='bridge'>
      <mac address='52:54:00:20:ca:c1'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    <serial type='pty'>
      <target port='0'/>
    <console type='pty'>
      <target type='serial' port='0'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5912' autoport='no' keymap='en-us'/>
    <sound model='ich6'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
      <model type='cirrus' vram='9216' heads='1'/>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
--- 12年7月10日,周二, Eric Blake <> 写道:

发件人: Eric Blake <>
主题: Re: [libvirt-users] live migration
收件人: "hcyy" <>
日期: 2012年7月10日,周二,下午9:19

On 07/10/2012 06:46 AM, hcyy wrote:
> Hello, everybody.     I use NFS to do live migration。After input  virsh
> --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!

The act of migration should not be guest-visible, so if you are seeing a
read-only directory from within your guest, it is most likely some other
issue and not migration itself that caused the problem.

Eric Blake    +1-919-301-3266
Libvirt virtualization library