From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by sourceware.org (Postfix) with ESMTPS id C7FE53858C62 for ; Wed, 3 Jan 2024 12:27:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C7FE53858C62 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSW.ab.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=SystematicSW.ab.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C7FE53858C62 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=216.40.44.15 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704284828; cv=none; b=QfDHb5RV3x+fW9IK5w9mxpU1gkLTItnT3a/ViSQmCQ1zsOm8oXPXhXw9N+ba4wNNWm6JBZ6+rqk700OiRD2Li+7YN3d0e7PzuD4G2IICPboq9pEZyDEDpFwKZGTd1ig4v8iW+1t3UAUp7j5leeYJBIA9vs4XlWY9dqC249X0PQU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704284828; c=relaxed/simple; bh=a+lAL5y/LsxD2AdipWcaMXawRYp37VkxphXryGOjE84=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=FaGBv4EUteZkC7zopiPKbf+dLZvCtpx1+TCeSFKuo23iQTUPAV4vDWZ7viEn7YpyN6vddmhJffIaGLEpZuyp4wgU/EjcUUAaePQAGblVJU4+iKWyFDY66L0I6BHbup0/NqjKTG7O0wttYcAO0jXBIaCWE/ufR/A7Z1DX3obxNXk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from omf11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 61A0D16085F for ; Wed, 3 Jan 2024 12:27:05 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: Brian.Inglis@SystematicSW.ab.ca) by omf11.hostedemail.com (Postfix) with ESMTPA id ECEE52002A for ; Wed, 3 Jan 2024 12:27:02 +0000 (UTC) Message-ID: <1df0944e-faac-4e29-ae33-4c792236b6cc@SystematicSW.ab.ca> Date: Wed, 3 Jan 2024 05:27:02 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: cygwin@cygwin.com Subject: Re: Qemu packages for Cygwin? Content-Language: en-CA To: cygwin@cygwin.com References: <11fb8fb3-c7ea-4be8-90ad-8addc5a7b912@gmail.com> <92531229-4810-4c9c-89d2-67ee710a7863@SystematicSW.ab.ca> From: Brian Inglis Organization: Systematic Software In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: ECEE52002A X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Rspamd-Server: rspamout02 X-Stat-Signature: 3xpqy9bhh4ba77mmuad16uzpz5a8rd8j X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX18XJaBDvX0R4I306jYkXV/9yKgA4TwC1u8= X-HE-Tag: 1704284822-236298 X-HE-Meta: U2FsdGVkX18Ts8V+8+yijvtVvfXeM/5Bq+WXYwQwQgqIBzLxDvSOpfc3axc/ks55Fm4YBgk5ryBQ7mivC8+Is+xtApoPuiw3wWd5eanG6NN2CsPlAxxzU6ttnjx4F33lkV4+KyX0ClSALusQSLiaWd5ukjSjUXSxAfyyjQUCipKhxv5a+lDhBqIvXJ/8xRKC72u+btRAQQ9zqXWO6zLOfb8AVa7oXjGJWBuS2sPkDcAo2Cgf4rJytDRcWGuDZGlf3iv8FLqQgsa14+COxlU2PTpCWb+M96GvKRhcLRbZrZqomvDZ/w7JAKqGbdPy1JQkT+AHQ05B70KKW4OGBcaMOMQJ2F4XyfnoNmtNrZPOxcqRpD3CTbT6ak5rsS7vaqd0x7qmClVU/SfelvuIWbgeXAzXPbqKvaAAgdzhEyIzwvfmEvmCaXGbMZqWh8tgtBKJ X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2024-01-03 02:10, Cedric Blancher via Cygwin wrote: > On Mon, 18 Dec 2023 at 18:33, Brian Inglis via Cygwin wrote: >> >> On 2023-12-18 00:14, Dan Shelton via Cygwin wrote: >>> On Mon, 18 Dec 2023 at 07:54, Marco Atzeri via Cygwin wrote: >>>> On 18/12/2023 07:42, Dan Shelton via Cygwin wrote: >>>>> Does Cygwin come with qemu packages? >> >>>> why should an "Unix Emulation layer" that run in "User Space" >>>> trying to run a "Full-system emulation" (https://www.qemu.org/) ? >>>> It seems like using square wheels >> >>> Nope. The Qemu packages on LInux have a much more wider functionality, >>> and more features, compared to the TUSBTADI "The User Should Be >>> Treated As Dumb Idiot" versions on Windows. It absolutely makes sense. >> >> Cygwin has trouble providing some POSIX features under Windows due to its API >> limitations, using "documented" Windows APIs, allowing it to run under ReactOS, >> Wine, and similar emulators, with which there is some interchange. >> >> It does not provide or support much in the way of privileged Unix or Windows >> features or access, except for providing emulation for running daemons as >> services, and some caching of SAM, AD, and process info. >> >> It is totally inadequate as a platform to provide or support any x86 >> virtualization or even virtual machine management features, as it can not >> provide access to any machine features that do not have "documented" Windows APIs. >> Look at the /proc filesystem emulation limitations for examples of where Windows >> lacks APIs to get information available under Linux. >> >> You complain elsewhere about performance: > > I am also complaining about performance, but it is NOT "performance in > general": What really sucks is the filesystem inode operations and > file name lookup, e.g. /bin/find&friends are absurdly slow because of > the link emulation and the inflation of syscalls caused by it - just > up to five times more accesses just to handle filename, filename.lnk, > filename.lnk.exe, filename.lnk.bat etc > Other areas have adequate performance, e.g. read/write performance is OK > >> can you imagine how bad it would be, >> compared to Hyper-V, WSL, VirtualBox, etc. > > No, qemu is called the "quick emulator", and has more functionality > than just being a hypervisor, like being able to emulate ARM and SPARC > platforms. Even if the x86 hypervisor cannot be used, there is still > lots of functionality. > > If there are bugs in the POSIX emulation layer, then those bugs should > be 1) documented and 2) fixed. There are some functions that are not implemented because they can not be emulated under Windows, or require far too much work, or code and space in the dll. > Also please do not shoot down package proposals out of the FEAR that > "something" might not work. Rather knowledge from experience that MS supports certain features in their own products e.g. WSL/2, Hyper-V and does not provide docs for some of their proprietary interfaces to allow others to do the same, without e.g. writing their own drivers to bypass Windows. As long as you are happy porting a software emulator to build under cygport and run atop a POSIX layer, let us see how well you can do, by your own measures. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry