delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/01/03/07:27:33

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4022D3858292
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1704284851;
bh=WcZqsLfquN1JjerpGXsSZIkhLUIcpp21J2fIZyIxWvE=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=UZwWKSzivyY3Yn4Z78IouZMh/qT+vgVn5xFFlwDqThvMWNsgSNqk909cR3Mk7NZyv
T9Y3XAi9pVZidigJGUO+GQ55OENoZo5mOgJ70IUZCezro6mWsUASNH8P/bDIXhqxZY
eG5uZ1YVL3PLTdltoDibB1wONH0gDjOOiWLisZSs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C7FE53858C62
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C7FE53858C62
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
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
Subject: Re: Qemu packages for Cygwin?
To: cygwin AT cygwin DOT com
References: <CAAvCNcBYGQWPE_Peg=AbwAS+-5soVbiXJAKzJkDetF_FGV0uXQ AT mail DOT gmail DOT com>
<11fb8fb3-c7ea-4be8-90ad-8addc5a7b912 AT gmail DOT com>
<CAAvCNcDfLe8hGcEpH7YpZWh5aKpZL8LpiMqNrVYR_Eko0oaDCw AT mail DOT gmail DOT com>
<92531229-4810-4c9c-89d2-67ee710a7863 AT SystematicSW DOT ab DOT ca>
<CALXu0UfAg8eFFePUdhM7MZ40xEPO6rnesaH66LLssAbckycS0Q AT mail DOT gmail DOT com>
Organization: Systematic Software
In-Reply-To: <CALXu0UfAg8eFFePUdhM7MZ40xEPO6rnesaH66LLssAbckycS0Q@mail.gmail.com>
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
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 403CRXkj003836

On 2024-01-03 02:10, Cedric Blancher via Cygwin wrote:
> On Mon, 18 Dec 2023 at 18:33, Brian Inglis via Cygwin <cygwin AT cygwin DOT com> 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

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019