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

/v/vm/efi can't attach "BLOCK" media #30

Open
zimsneexh opened this issue Feb 26, 2024 · 1 comment
Open

/v/vm/efi can't attach "BLOCK" media #30

zimsneexh opened this issue Feb 26, 2024 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@zimsneexh
Copy link
Collaborator

Sending a /v/vm/efi PUT request with the following media field:

...
"media": [
    {
      "mid": 0,
      "mode": "BLOCK",
      "readonly": false
    }
  ],
...

causes an error on the server side and doesn't create the VM.

@maxkofler
Copy link
Collaborator

The root of the problem is quite simple: Velocity currently doesn't support BLOCK devices:

enum DiskMode : String, Decodable, Encodable {
    case USB = "USB"
    case VIRTIO = "VIRTIO"
}

We should rename this issue to implement that functionality.

@maxkofler maxkofler added bug Something isn't working enhancement New feature or request labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants