[virt-tools-list] [virt-manager PATCH] virt-install: add support for adding multi consoles
Chen Hanxiao
chen_han_xiao at 126.com
Wed Jan 29 17:46:54 UTC 2014
At 2014-01-29 21:50:22,"Cole Robinson" <crobinso at redhat.com> wrote:
>On 01/29/2014 03:53 AM, Chen Hanxiao wrote:
>> From: Chen Hanxiao <chenhanxiao at 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.
If we add two pty consoles for vm:
virt-install --debug --connect test:////root/virt-manager/tests/testdriver.xml --name foobar --ram 64 --hvm --nographics --noautoconsole --nodisks --pxe --console pty --console pty
We will get an error
libvirtError: unsupported configuration: Only the first console can be a serial port
Container works fine with adding two pty consoles.
What kind of default console shoud we provided for vm?
Thanks,
Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140130/93224b68/attachment.htm>
More information about the virt-tools-list
mailing list