Github user remibergsma commented on the pull request:

    https://github.com/apache/cloudstack/pull/985#issuecomment-151838470
  
    Hi @wido :
    
    SELinux is off:
    ```
    [root@kvm1 channel]# getenforce 
    Permissive
    ```
    
    The generated XML:
    ```
    2015-10-28 13:02:00,216 DEBUG [resource.wrapper.LibvirtStartCommandWrapper] 
(agentRequest-Handler-5:null) st
    arting s-324-VM: <domain type='kvm'>
    <name>s-324-VM</name>
    <uuid>acdaffdf-9676-42eb-a386-f8aee0aaccca</uuid>
    <description>Debian GNU/Linux 5.0 (64-bit)</description>
    <cpu></cpu><sysinfo type='smbios'>
    <system>
    <entry name='manufacturer'>Apache Software Foundation</entry>
    <entry name='product'>CloudStack KVM Hypervisor</entry>
    <entry name='uuid'>acdaffdf-9676-42eb-a386-f8aee0aaccca</entry>
    </system>
    </sysinfo>
    <os>
    <type  arch='x86_64' machine='pc'>hvm</type>
    <boot dev='cdrom'/>
    <boot dev='hd'/>
    <smbios mode='sysinfo'/>
    </os>
    <on_reboot>restart</on_reboot>
    <on_poweroff>destroy</on_poweroff>
    <on_crash>destroy</on_crash>
    <memory>524288</memory>
    <devices>
    <memballoon model='none'/>
    </devices>
    <vcpu>1</vcpu>
    <features>
    <pae/>
    <apic/>
    <acpi/>
    </features>
    <cputune>
    <shares>500</shares>
    </cputune>
    <clock offset='utc'>
    <timer name='kvmclock' >
    </timer>
    </clock>
    <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <interface type='bridge'>
    <source bridge='cloud0'/>
    <mac address='0e:00:a9:fe:00:66'/>
    <model type='virtio'/>
    <rom bar='off' file=''/></interface>
    <interface type='bridge'>
    <source bridge='cloudbr0'/>
    <mac address='06:03:40:00:00:08'/>
    <model type='virtio'/>
    <rom bar='off' file=''/></interface>
    <interface type='bridge'>
    <source bridge='breth0-50'/>
    <mac address='06:ce:f8:00:00:17'/>
    <model type='virtio'/>
    <rom bar='off' file=''/></interface>
    <interface type='bridge'>
    <source bridge='cloudbr0'/>
    <mac address='06:16:8c:00:00:12'/>
    <model type='virtio'/>
    <rom bar='off' file=''/></interface>
    <console type='pty'>
    <target port='0'/>
    </console>
    <disk  device='disk' type='file'>
    <driver name='qemu' type='qcow2' cache='none' />
    <source 
file='/mnt/812ea6a3-7ad0-30f4-9cab-01e3f2985b98/544cbd54-7cfc-423c-b956-c0135efa059f'/>
    <target dev='vda' bus='virtio'/>
    </disk>
    <disk  device='cdrom' type='file'>
    <driver name='qemu' type='raw' cache='none' />
    <source file='/usr/share/cloudstack-common/vms/systemvm.iso'/>
    <target dev='hdc' bus='ide'/>
    </disk>
    <serial type='pty'>
    <target port='0'/>
    </serial>
    <graphics type='vnc' autoport='yes' listen='192.168.22.21' 
passwd='NYq46aTBPtud7Nj4D62C9Q'/>
    <channel type='unix'>
    <source mode='bind'/>
    <address type='virtio-serial'/>
    <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
    </channel>
    <channel type='unix'>
    <source mode='bind' path='/var/lib/libvirt/qemu/s-324-VM.agent'/>
    <address type='virtio-serial'/>
    <target type='virtio' name='s-324-VM.vport'/>
    </channel>
    <input type='tablet' bus='usb'/>
    </devices>
    </domain>
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to