From nobody Sun Mar 03 20:56:31 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TnvK426Bpz5CJPr; Sun, 3 Mar 2024 20:57:12 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TnvK16k9gz42yp; Sun, 3 Mar 2024 20:57:09 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=T3qKZ6uv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::52e as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5643ae47cd3so5281106a12.3; Sun, 03 Mar 2024 12:57:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709499428; x=1710104228; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=QGMyxPYddGCloH1b9ZXYErmNwRbBWY6kp4i87YzBpNA=; b=T3qKZ6uve/7jfX2GBuAx4nC9UziqglHlX9bCuC1i70swki0L9VFliDApUmTexzvNKf eOhSAvdjhae1dY3Ij79/0UyuuiQK8zWbt9i84/YZpaGIcK3HRaLqof4vywEq8LBFrq70 tNrp5OiGDl3cqUOi89b25hDfT8shcLqudEuDmVPC1lN3tMTm27Z67dxIwKpS1aDza99K ocaw+oiuqzhzF6FeoW0sj4izkNdXpYahXVTMGnZfYNepufOX3QY5OSzigMMg3VvOgo2o msQeUDDRYMh0BU3yxjTaTm2gry0N/IBXo1lL/l2tyvPGWAD1zIqlzed03Ylvo9o73f/9 rDJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709499428; x=1710104228; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QGMyxPYddGCloH1b9ZXYErmNwRbBWY6kp4i87YzBpNA=; b=oqmTCpY5r72A6ulm1dWBKsWEOjNgYUyKLIT0AUnGXYRfz5OlfS2C0qMHCq0gESB19B r7kS2HTy2lZasS/D7lfOIETtqza06Te4LeLQt0h/LuO+MDScGT873+hLaHXcWo3DS3oS mtApiLbv6oAM2KswH2/0xwX6/XW9mTPyTcJZWn8EhMU94VEFOoTKYtGi82hqJKVH8psK DLIGRc04j6tDY763Y50H1Z+F7lN2icmRJVoQh2vmsfukaM6lcVOWCSPaiYrglUTZOZer 9Egw2z/b7kCEq/8HHt/7uEeFBPhiNSJ9Bki4mAdaQmZYxjbWJfsU2J9Q2KMrf6PMWugz +MIg== X-Forwarded-Encrypted: i=1; AJvYcCUTFAy0kzDC/hSI5Hb7YH8xTxWzBjAnF5APznzfPwta8CcUU9ztVs+37TlJ2rm0WMpGE0wU1xDU2MazmSmqsPIsbW1aiqAZskT+iUrPrOLjsd6AGH00ylMmw6js9626yhHNEpH0reicbEOg X-Gm-Message-State: AOJu0YwdEtmF03cCSNbWHTHcFl0rnq5GQt0O5rPWuHK4gmgO4+sVIZWE lz3DF5PB6ldMJ4AI819PBOChodDwPQwbhqJIXcMJaIXSdZb2RoY4viejqBAmfb15odCx/4f6ivV SvNXmdpMtn2tPjTVZ98MwcHyh40/sdqtq9ZA= X-Google-Smtp-Source: AGHT+IGMp1xB8z/7knFJnFRAkW91HDXlrh0g91UttottUVIKNN52t72RpBGYQ7X3dv9r4nc9QzGNqcn5auZywbyRk3s= X-Received: by 2002:a17:906:37d6:b0:a45:f05:7e10 with SMTP id o22-20020a17090637d600b00a450f057e10mr1676790ejc.24.1709499427455; Sun, 03 Mar 2024 12:57:07 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 From: Mario Marietto Date: Sun, 3 Mar 2024 21:56:31 +0100 Message-ID: Subject: A project is to be able to pass through an nvidia gpu to a Windows vm virtualized with bhyve. To: FreeBSD virtualization , FreeBSD Mailing List , freebsd-hackers Content-Type: multipart/alternative; boundary="0000000000001e06830612c7dafe" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52e:from]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org,freebsd-questions@freebsd.org,freebsd-hackers@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+] X-Rspamd-Queue-Id: 4TnvK16k9gz42yp --0000000000001e06830612c7dafe Content-Type: text/plain; charset="UTF-8" Hello. My project is to be able to pass through an nvidia gpu to a Windows vm virtualized with bhyve. I know how to do that,but no one wants to take my idea into consideration. The problem is that Windows gives error 12 (interrupt conflicts) when it finds the nvidia gpu that has been passed through by bhyve. This is the patch needed : https://gitlab.com/Queuecumber/linux-acs-override/raw/master/workspaces/5.6.12/acso.patch Linux does not need this patch anymore because it has been added in the mainline kernel. Different story is Windows. No one can add that code inside the Windows code. But,maybe it can be added inside the bhyve code or that code can be converted in powershell code and run it under Windows. I don't know what's the best method. But I'm sure that it will work. Let me know what you think. -- Mario. --0000000000001e06830612c7dafe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

My project is to be a= ble to pass through an nvidia gpu to a Windows vm virtualized with bhyve. I know how to do that,but no one wants to=20 take my idea into consideration.=C2=A0 The problem is that Windows gives=20 error 12 (interrupt conflicts) when it finds the nvidia gpu that has=20 been passed through by bhyve. This is the patch needed :

=

Linux does not need this patch anymore because it has been added in the=20 mainline kernel. Different story is Windows. No one can add that code=20 inside the Windows code. But,maybe it can be added inside the bhyve code or that code can be converted in powershell code and run it under=20 Windows. I don't know what's the best method. But I'm sure that= it will=20 work.

Let me know what you think.

--
Mario.
--0000000000001e06830612c7dafe--