Feature #1558
kvm default raw atributes configurable in /etc/one/vmm_exec/vmm_exec_kvm.conf
Status: | Closed | Start date: | 10/16/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | Release 4.0 | |||
Resolution: | fixed | Pull request: |
Description
by default domain xml for kvm machines does not contain fragment for serial console. this is usable for specific tasks when working "virsh connect <onevm>" is useful.
this could be changed per-template, but having it defined on one place is good for keeping templates as simple as possible and do not confuse cloud users (who are using sunstone) with raw options.
missing from the domain xml is:
<serial type="pty">
<source path="/dev/pts/1" />
<target port="0" />
</serial>
<console type="pty" tty="/dev/pts/1" >
<source path="/dev/pts/1" />
<target port="0" />
</console>
it would be nice to have the RAW option in /etc/one/vmm_exec/vmm_exec_kvm.conf (its not propagated to have effect)
concrete example
RAW = [ type = "kvm", data="<devices><serial type=\"pty\"><source path=\"/dev/pts/1\"/><target port=\"0\"/></serial><console type=\"pty\" tty=\"/dev/pts/1\"><source path=\"/dev/pts/1\"/><target port=\"0\"/></console></devices>" ]
Related issues
Associated revisions
History
#1 Updated by Ruben S. Montero over 8 years ago
- Tracker changed from Bug to Feature
- Target version set to Release 4.0
#2 Updated by Ruben S. Montero over 8 years ago
- Status changed from New to Closed
- Resolution set to fixed
Now in master as:
RAW = "<raw_data_value>"
for Xen, VMware, KVM