Bugs in SSH module

2021-01-21 Thread Sawyer Liu
Hello QEMU,
   I found same question, see https://bugs.launchpad.net/qemu/+bug/1838763. 
The status is “Won’t Fix”. Do you have any result?
 Thanks.

Best Regards
Sawyer Liu(刘维峰)

Microcontrollers, NXP Semiconductors
23/F, Exchange Building, No.118 Jianguo Road, Chaoyang District, Beijing, P.R.C 
100022
中国北京市朝阳区建国路乙118号京汇大厦23层   邮编:100022
Tel: 86-10-58798328, Fax: 86-10-58798010, Mobile: 86-1800 112 6984
E-mail: sawyer@nxp.com<mailto:sawyer@nxp.com>



RE: [EXT] Re: Bugs in SSH module

2021-01-21 Thread Sawyer Liu
Hello Berto,
   I think you meant the “libssl-dev” should be installed, not 
“lib-sshdev”, right? I have installed libssl-dev, the result is same, cannot 
compile qemu.
   Thanks.


Best Regards
Sawyer Liu(刘维峰)

From: Berto Furth 
Sent: Friday, January 22, 2021 14:18
To: Sawyer Liu ; qemu-discuss@nongnu.org
Subject: [EXT] Re: Bugs in SSH module


Caution: EXT Email
I think the thing is that it seem to compile fine on systems other than Ubuntu 
18 that have libssh installed so the problem is presumably with that particular 
version of Ubuntu rather than QEMU.

Can you make sure that the "lib-sshdev" package is installed and up to date on 
your system?

I can compile on my Debian 10 system with no problems.

Good luck!


On Fri, 22 Jan 2021, at 13:39, Sawyer Liu wrote:

Hello QEMU,

   I found same question, see 
https://bugs.launchpad.net/qemu/+bug/1838763<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.launchpad.net%2Fqemu%2F%2Bbug%2F1838763&data=04%7C01%7Csawyer.liu%40nxp.com%7Cd72202940eeb4b3c18dd08d8be9d8b8c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637468931154493369%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=OKQ%2FgimyG3b6Q%2BHruDQfpB1V7vNwuNEktU%2FNv4mBK%2F0%3D&reserved=0>.
 The status is “Won’t Fix”. Do you have any result?

     Thanks.



Best Regards

Sawyer Liu(刘维峰)



Microcontrollers, NXP Semiconductors

23/F, Exchange Building, No.118 Jianguo Road, Chaoyang District, Beijing, P.R.C 
100022

中国北京市朝阳区建国路乙118号京汇大厦23层   邮编:100022

Tel: 86-10-58798328, Fax: 86-10-58798010, Mobile: 86-1800 112 6984

E-mail: sawyer@nxp.com<mailto:sawyer@nxp.com>





RE: [EXT] Re: Bugs in SSH module

2021-01-24 Thread Sawyer Liu
Hello peter,
How to disable libssh for QEMU? Thanks. 


Best Regards
Sawyer Liu(刘维峰)

-Original Message-
From: Peter Maydell  
Sent: Friday, January 22, 2021 18:23
To: Sawyer Liu 
Cc: qemu-discuss@nongnu.org
Subject: [EXT] Re: Bugs in SSH module

Caution: EXT Email

On Fri, 22 Jan 2021 at 03:49, Sawyer Liu  wrote:
>I found same question, see 
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.launchpad.net%2Fqemu%2F%2Bbug%2F1838763&data=04%7C01%7Csawyer.liu%40nxp.com%7Ce0fe76b8e8c6425ecadb08d8bebfc750%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637469078177645478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=zY4s4CwGEGxriaU4vjYSxhHmP%2F7H%2FyizIaGv16YDGAQ%3D&reserved=0.
>  The status is “Won’t Fix”. Do you have any result?

The only feature that compiling QEMU with libssh adds is support for a 'ssh' 
block backend. That means you can pass '-drive file=ssh://host/path/to/file' to 
get QEMU to open a disk image on a remote machine.

If you don't need to use that feature, you can pass QEMU configure 
"--disable-libssh". QEMU will then just not try to use the Ubuntu libssh.

There seems to be some confusion in this thread about whether the problem is 
libssh or libssl. These are two different libraries. The bug report you give 
the URL for is for libssh.

thanks
-- PMM


RE: [EXT] Re: Bugs in SSH module

2021-01-25 Thread Sawyer Liu
Hello Nerijus,
Sorry, I am newer for QEMU, could you tell me details how to config 
QEMU? Thanks. 

Best Regards
Sawyer Liu(刘维峰)

-Original Message-
From: Nerijus Baliunas  
Sent: Monday, January 25, 2021 16:42
To: Sawyer Liu 
Cc: qemu-discuss@nongnu.org
Subject: Re: [EXT] Re: Bugs in SSH module

Caution: EXT Email

Hi,

it is written in the email you quoted:
you can pass QEMU configure "--disable-libssh".

Regards,
Nerijus

On Mon, 25 Jan 2021 02:12:25 +0000 Sawyer Liu  wrote:

> Hello peter,
>   How to disable libssh for QEMU? Thanks.
>
>
> Best Regards
> Sawyer Liu(Áõά·å)
>
> -Original Message-
> From: Peter Maydell 
> Sent: Friday, January 22, 2021 18:23
> To: Sawyer Liu 
> Cc: qemu-discuss@nongnu.org
> Subject: [EXT] Re: Bugs in SSH module
>
> Caution: EXT Email
>
> On Fri, 22 Jan 2021 at 03:49, Sawyer Liu  wrote:
> >I found same question, see 
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.launchpad.net%2Fqemu%2F%2Bbug%2F1838763&data=04%7C01%7Csawyer.liu%40nxp.com%7C99cf5778385f4e32f45a08d8c10d2728%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637471609539122288%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=voxHT4Tiiimm%2BxtoWLPEc8AbN4OyVj3PI1H7svrOuGk%3D&reserved=0.
> >  The status is ¡°Won¡¯t Fix¡±. Do you have any result?
>
> The only feature that compiling QEMU with libssh adds is support for a 'ssh' 
> block backend. That means you can pass '-drive file=ssh://host/path/to/file' 
> to get QEMU to open a disk image on a remote machine.
>
> If you don't need to use that feature, you can pass QEMU configure 
> "--disable-libssh". QEMU will then just not try to use the Ubuntu libssh.
>
> There seems to be some confusion in this thread about whether the problem is 
> libssh or libssl. These are two different libraries. The bug report you give 
> the URL for is for libssh.
>
> thanks
> -- PMM