[CRIU] Fwd: Criu Restore Error

Christopher Covington cov at codeaurora.org
Wed Mar 25 10:12:38 PDT 2015


On 03/25/2015 01:00 PM, Priyanka Naik wrote:
> This command ran successfully. Now how to access files from guest??

http://www.linux-kvm.org/page/9p_virtio

mkdir /tmp/host_files
mount -t 9p -o trans=virtio,version=9p2000.L hostshare /tmp/host_files

> Another thing while accessing those files does my guest need to be shutdown??

I don't. It's based on a network filesystem.

Chris

> On Wed, Mar 25, 2015 at 10:15 PM, Christopher Covington <cov at codeaurora.org
> <mailto:cov at codeaurora.org>> wrote:
> 
>     On 03/25/2015 12:25 PM, Priyanka Naik wrote:
>     >
>     > ---------- Forwarded message ----------
>     > From: *Priyanka Naik* <prnk.nk1 at gmail.com <mailto:prnk.nk1 at gmail.com> <mailto:prnk.nk1 at gmail.com
>     <mailto:prnk.nk1 at gmail.com>>>
>     > Date: Wed, Mar 25, 2015 at 9:54 PM
>     > Subject: Re: [CRIU] Criu Restore Error
>     > To: Christopher Covington <cov at codeaurora.org <mailto:cov at codeaurora.org> <mailto:cov at codeaurora.org
>     <mailto:cov at codeaurora.org>>>
>     >
>     >
>     > I got these errors after running following command :
>     >
>     > root at priyanka-Lenovo-G510:/usr/bin# qemu-system-x86_64 -m 1024 -s -hda
>     > vdisk.img -kernel /usr/src/linux-3.17.6/arch/x86_64/boot/bzImage -initrd
>     > /home/priyanka/tmp2/newinitrd.img -append "root=/dev/sda10" -name myguest
>     > -device virtio-serial -chardev socket,path=/tmp/foo,server,nowait,id=foo
>     > -device virtserialport,chardev=foo,name=org.fedoraproject.port.0 -fsdev
>     > local,security_model=passthrough,id=fsdev0,path=/tmp/share -device
>     > virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare
>     >
>     >
>     > qemu-system-x86_64: -device
>     > virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare: Virtio-9p Failed to
>     > initialize fs-driver with id:fsdev0 and export path:/tmp/share
> 
>     This fixed this error for me:
> 
>     mkdir /tmp/share
> 
>     Note that this is a host machine path.
> 
>     Chris

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


More information about the CRIU mailing list