Arpit Patel wrote: > Hi All, > > I am trying to share files between host OS and guest OS, both are Ubuntu. > > Here is the command line that I am using to start guest OS > *qemu -kernel kernelimage -initrd initrd.img /dev/zero -append "cmdline" > -smb /tmp* > * > * > After which I tried to *mount* /tmp on guest OS, using IP address of host > OS, > something like *mount //10.80.8.100/tmp /tmp*, but fails saying "*No such > device"*.
Try //10.0.2.4/qemu (a virtual server inside the virtual net that QEMU creates with its user-mode IP stack, 'qemu' is the default share name). > > Samba service is also running on Host OS. Actually not needed for -smb, it will start a separate smbd instance. But recent samba versions can cause troubles here (hard-coded paths prevent unprivileged smbd instances). In that case you need to fall back to the main host smb server. That would be reachable under 10.0.2.2 (default IP config), share names as you assigned. > > Any ideas or any other way to share files between Host OS and Guest OS. > > Thanks for Help. > Jan
signature.asc
Description: OpenPGP digital signature