Feature #1558

kvm default raw atributes configurable in /etc/one/vmm_exec/vmm_exec_kvm.conf

Added by Jan Horacek over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:10/16/2012
Priority:NormalDue 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:

&lt;serial type="pty"&gt;
&lt;source path="/dev/pts/1" /&gt;
&lt;target port="0" /&gt;
&lt;/serial&gt;
&lt;console type="pty" tty="/dev/pts/1" &gt;
&lt;source path="/dev/pts/1" /&gt;
&lt;target port="0" /&gt;
&lt;/console&gt;

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

Related to Feature #1563: New defaults for KVM driver Closed 10/19/2012

Associated revisions

Revision 678bb849
Added by Ruben S. Montero over 8 years ago

feature #1558 & #1563: Add default value for model (NIC=[model]) and for raw attributes as (RAW="raw value"), for KVM, Xen and VMware

Revision 0d572415
Added by Ruben S. Montero over 7 years ago

feature #1558 & #1563: Add default value for model (NIC=[model]) and for raw attributes as (RAW="raw value"), for KVM, Xen and VMware

(cherry picked from commit 678bb84940fbbcebc86aa91fb1465cf5d361093d)

Conflicts:
src/vmm/LibVirtDriverVMware.cc

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

Also available in: Atom PDF