Bug 1292829
Summary: | virt-install: support disk blockio | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Yuri Arabadji <yuri> | ||||
Component: | virt-manager | Assignee: | Cole Robinson <crobinso> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | unspecified | CC: | berrange, crobinso, gscrivan, rbalakri | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-06-16 17:29:28 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Yuri Arabadji
2015-12-18 12:58:05 UTC
virt-install doesn't use a template, it builds the XML from scratch. There isn't any general purpose way to insert bits into the XML, but you could do virt-install --print-xml, edit it, then define and run it manually. FWIW the libvirt XML for blockio bits is: <disk> <blockio logical_block_size='512' physical_block_size='512'/> </disk> Supported since libvirt 0.10.2 Created attachment 1288392 [details]
virt-manager-blksize.patch
"Thanks" for taking care of this so promptly.
I've created a tiny patch that adds logical_block_size and physical_block_size to --disk option. It's working perfectly so far.
Thanks for the patch, pushed now with some test suite additions: commit 4be3d030b5425fee5108675ba5a744223842c11c (HEAD -> master, origin/master, origin/HEAD) Author: Yuri Arabadji <yuri> Date: Fri Jun 16 13:27:38 2017 -0400 cli: Add --disk logical/physical_block_size Also virt-install does have command line passthrough support now, with the --qemu-commandline option |