<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><span style="white-space: pre-wrap; line-height: 1.7;">At 2014-01-29 21:50:22,"Cole Robinson" <crobinso@redhat.com> wrote:</span><br><pre>>On 01/29/2014 03:53 AM, Chen Hanxiao wrote:
>> From: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
>> 
>> This patch will add support for adding multiple
>> default consoles, with command:
>> 
>> virt-install --console N
>> 
>
>We don't use that format anywhere else. If someone wants to attach multiple
>devices should do: --console OPTS --console OPTS ...
>
>So maybe add a '--console default' handler and allow that to be specified
>multiple times. And please add a cli compare test so we know it's doing the
>right thing.
<span style="white-space: normal; line-height: 1.7;"><br></span></pre><pre><span style="white-space: normal; line-height: 1.7;">If we add two pty consoles for vm£º</span></pre><pre><span style="white-space: normal; line-height: 1.7;">virt-install --debug --connect test:////root/virt-manager/tests/testdriver.xml --name foobar --ram 64 --hvm --nographics --noautoconsole --nodisks --pxe --console pty --console pty</span>
</pre><pre><span style="white-space: normal;">We will get an error</span></pre><pre><span style="white-space: normal;">libvirtError: unsupported configuration: Only the first console can be a serial port</span></pre><pre><span style="white-space: normal;">Container works fine with adding two pty consoles.</span></pre><pre><span style="white-space: normal;">What kind of default console shoud we provided for vm?</span></pre><pre><span style="white-space: normal;">Thanks,</span></pre><pre><span style="white-space: normal;">Chen</span></pre></div>