-
Notifications
You must be signed in to change notification settings - Fork 1.1k
SONiC on virtual machine for Windows
This document describes the implementation of SONiC on virtual machine using windows machine and qemu. Please find the step by step on the implementation below,
- Download and install QEMU for windows
- Download SONiC image
- Initialize SONiC in QEMU
Go to: https://qemu.weilnetz.de/w64/ to download qemu-w64-setup-xxx.exe and install it to your windows machine.
2. Download sonic prebuilt image: Go to: https://sonic-build.azurewebsites.net/ui/sonic/pipelines/142/builds/49244/artifacts/94210?branchName=master&artifactName=sonic-buildimage.vs and download target/sonic-vs.img.gz
Extract sonic-vs-img.gz to a folder in your machine. Example: d:\sonic-vs.img
Open a command line and run the command:
"c:\Program Files\qemu\qemu-system-x86_64.exe" -name sonic-simulator_1 -m 2048M -smp cpus=2 -drive file=d:\sonic-vs.img,index=0,media=disk,id=drive0 -serial telnet:127.0.0.1:5001,server,nowait -monitor tcp:127.0.0.1:44001,server,nowait -device e1000,netdev=net0 -netdev user,id=net0
Login with the account: admin/YourPaSsWoRd
-
For Users
-
For Developers
-
Subgroups/Working Groups
-
Presentations
-
Join Us