[prev in list] [next in list] [prev in thread] [next in thread]
List: libvirt-users
Subject: Re: [libvirt-users] =?utf-8?q?Virsh_Domain_-_Serial_port=3B_what_does?=
From: "thilo.cestonaro () ts ! fujitsu ! com" <thilo ! cestonaro () ts ! fujitsu ! com>
Date: 2018-04-05 13:41:08
Message-ID: 234f6964f6183589cf48129e049466981e2aba12.camel () ts ! fujitsu ! com
[Download RAW message or body]
Hi all!
Committed a patch for this as I couldn't find anything where libvirt makes use
of the target.port of the serial device.
https://www.redhat.com/archives/libvir-list/2018-April/msg00374.html
Cheers,
Thilo
On Di, 2018-04-03 at 08:31 +0000, thilo.cestonaro@ts.fujitsu.com wrote:
> Hi all!
>
> I want to assign a real serialport to my kvm virtual machine via virsh.
>
> When I add the following XML snippet to the domain xml, it gets successfully
> attached but not as I expected it to happen.
>
> <serial type='dev'>
> <source path='/dev/ttyS3'/>
> <target type='isa-serial' port='2'>
> <model name='isa-serial'/>
> </target>
> <alias name='ua-Serial3'/>
> </serial>
>
> I expected, that given the target port 2 it will be connected to /dev/ttyS2 in
> the VM. But the target port gets totaly ignored and it will always be connected
> to ttyS0. Unless I define another serial before this, then it is connected to
> ttyS1, which is just the order of the serial devices in the xml then, still
> ignoring the target port. So, do I understand the target port absolutely wrong
> or is this a bug virsh?
>
> Cheers Thilo
> _______________________________________________
> libvirt-users mailing list
> libvirt-users@redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
["smime.p7s" (application/x-pkcs7-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic