![]() And, click Add a Network Location option. Now, inside our Windows guest Virtual Machine, we need to open File explorer and then right-click on This PC. So, if you are running a Virtual Machine through command-line then – qemu-system-x86_64 -net nic -net user,smb= -smp -cpu host -enable-kvm -m -drive format=qcow2,file=/path/to/disk_image.qcow2įor instance, qemu-system-x86_64 -net nic -net user,smb=/dev/shm/ -smp 2 -cpu host -enable-kvm -m 2048 -drive format=qcow2,file=/path/to/disk_image.qcow2įor i386 architecture, we can replace qemu-system-x86_64 with qemu-system-i386. We have to provide following options to utilize QEMU’s built-in SMB server – -net nic -net user,smb=shared_folder_path Now, to install samba package – sudo apt install samba Configure Network on Windows 10 guest Operating System This makes the latest version of package available. ![]() Therefore, we would first update the repository – sudo apt update Since, the package samba in already available in standard Ubuntu repository. Install Samba on Ubuntu host Operating System In case you don’t have one, then contact your System Administrator for assistance. Note: Following operations would require you to have superuser privileges. Samba is released under GNU General Public License. Thereafter, we will configure network on our guest Operating System (i.e. We would first install Samba on our host Operating System (i.e. In this article, we would focus on how to get a shared folder in QEMU Virtual Machine (Windows 10).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |