* Add python pip to buildroot
* Use DHCP for agent
* Use systemd for naming network interfaces
* Removed eth0 dhcp setting
* Add ETH_IFACE variable
* Added explanation for ETH_IFACE name
* Further explain ETH_IFACE value
* Add guest kernel support for VSOCKETS
* Optimize QEMU launch and add V-sock support
Refactored QEMU argument construction and launching logic by removing the dependency on 'agent.Computation'. This simplification makes the VM creation process more streamlined. Additionally, introduced V-sock capabilities in the QEMU configuration to facilitate improved guest-host communication. Updated the README to include kernel module setup instructions for the new V-sock feature.
The V-sock implementation enables VMs to use a consistent communication channel that is not affected by network configuration changes, enhancing reliability and potential interoperability with host services. It's important to ensure that the necessary kernel modules are loaded as part of the setup process, as documented.
Signed-off-by: SammyOina <sammyoina@gmail.com>
* Add vsock-based communication to manager
Introduced virtual socket (vsock) communication abilities in the manager package by implementing a new socket service. This includes establishing a vsock listener and stub methods for sending computation results and cleaning up resources. The addition provides the groundwork for interprocess communication between guest and host in virtualized environments.
- Integrated the `mdlayher/vsock` library for handling virtual socket operations.
- Created a new `sockService` struct to encapsulate vsock listener handling.
- Implemented `NewVsock` constructor to initialize the listener with domain value `3`.
- Added placeholder methods for future computation sending and service closing logic.
This enhancement targets scenarios where efficient VM-to-host communication is required.
Signed-off-by: SammyOina <sammyoina@gmail.com>
* Revert "Optimize QEMU launch and add V-sock support"
This reverts commit 44557c39d9.
* Revert "Add vsock-based communication to manager"
This reverts commit d1d3c01f3b.
* Remove unnecessary network link file installation
Network configuration is being handled elsewhere, making the installation of the `00-network.link` file redundant. Eliminated the line from the agent Makefile to prevent potential conflicts and streamline the initialization process.
Signed-off-by: SammyOina <sammyoina@gmail.com>
---------
Signed-off-by: SammyOina <sammyoina@gmail.com>
* Add python pip to buildroot
* Use DHCP for agent
* Use systemd for naming network interfaces
* Removed eth0 dhcp setting
* Add ETH_IFACE variable
* Added explanation for ETH_IFACE name
* Further explain ETH_IFACE value
* Use systemd for HAL boot
* Removed unnecessary mkdir command
* Add newline at the end of file
* Configure eth0 network interface
* Keep kernel naming scheme
* Fix agent.mk file for network interfaces