Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor manager to start AMD SEV encrypted VM #10

Merged
merged 25 commits into from
Aug 16, 2023
Merged

Refactor manager to start AMD SEV encrypted VM #10

merged 25 commits into from
Aug 16, 2023

Commits on Jul 31, 2023

  1. Refactor manager to start AMD SEV encrypted VM

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    10e2a6d View commit details
    Browse the repository at this point in the history
  2. Add proper formatting

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    eaef7dd View commit details
    Browse the repository at this point in the history
  3. Add host-guest http and grpc port parametrization

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    b92c698 View commit details
    Browse the repository at this point in the history
  4. Refactor dom.xml to start focal-server-cloudimg-amd64.qcow2

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    b92806c View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. Add uefi bios vars, exec cmd line and log to file parameters

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    f6d5b61 View commit details
    Browse the repository at this point in the history
  2. Parse env vars for qemu cmd line config

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    ada7cb9 View commit details
    Browse the repository at this point in the history
  3. Add ConstructQemuCommand and fix guestgrpc bug in sh

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    6294117 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Remove sudo necessity

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    ff47905 View commit details
    Browse the repository at this point in the history
  2. Replace cmd.Output() with cmd.Start()

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    9c545d3 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. Add a tmp file to read qemu cmd line constr output

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    3caaf6a View commit details
    Browse the repository at this point in the history
  2. Add sudo env var

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    1012d2c View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Remove tmp file creation and capture stdout with buffer

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    7e21a17 View commit details
    Browse the repository at this point in the history
  2. Move cmd funcs to internal/cmd.go

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    d7aca93 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

  1. Replace sh script for ctor of qemu cmd line with go code

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    51e69d8 View commit details
    Browse the repository at this point in the history
  2. Add use sudo option to qemu command ctor

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    475004c View commit details
    Browse the repository at this point in the history
  3. Add programmatic qemu bin abs path config

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    ce6131e View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Refactor README to use focal-server-cloudimg-amd64.img

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    88e05ae View commit details
    Browse the repository at this point in the history
  2. Add VM launch troubleshooting instructions

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    08f26af View commit details
    Browse the repository at this point in the history
  3. Add ExecutableAndArgs generator func to qemu and qemuCmd struct to se…

    …rvice
    
    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    5558a4f View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Amend VM launch troubleshooting instructions with port forwaring sett…

    …ings
    
    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    4137ad3 View commit details
    Browse the repository at this point in the history
  2. Add CreateQemuVM endoint

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    6b4a708 View commit details
    Browse the repository at this point in the history
  3. Revert to env var VM parametrization

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    1536c6c View commit details
    Browse the repository at this point in the history
  4. Add uuid to VM creation config id fields

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    0b38e94 View commit details
    Browse the repository at this point in the history
  5. Add file.go and temporary file creation to enable multi instance VM l…

    …aunch
    
    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    b3ad784 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Replace literal strings by consts and properly format godoc comments

    Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
    darkodraskovic committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    5028946 View commit details
    Browse the repository at this point in the history