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

LibVirt: Initial support for virtio-scsi virtual drives (read: ssd trim) #1473

Open
alip opened this issue Feb 15, 2021 · 0 comments · May be fixed by #1467
Open

LibVirt: Initial support for virtio-scsi virtual drives (read: ssd trim) #1473

alip opened this issue Feb 15, 2021 · 0 comments · May be fixed by #1467
Labels
feature request A suggested idea for the project

Comments

@alip
Copy link
Contributor

alip commented Feb 15, 2021

User story

As an engineer
I would like to add support for virtio-scsi devices in Libvirt.pm
so I can automate usage of para-virtualized SCSI controller devices

Describe the solution you'd like

  1. Honour driver_cache and driver_discard keys in storage disk config.
  2. Add a SCSI controller if any of the storage disks have SCSI as the target bus.

Such that we could do e.g:

vm create => 'foo', 
    type    => 'kvm',
    storage => [
        {
             dev         => 'sda',
             bus         => 'scsi',
             driver_cache => 'writeback',
             driver_discard => 'unmap',
        }
    ],
    ...

Describe alternatives you've considered

N/A

Additional context

N/A

@alip alip added the feature request A suggested idea for the project label Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A suggested idea for the project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant