* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
@ 2025-12-04 6:51 ` Christian Ehrhardt
2025-12-04 9:54 ` Bug Watch Updater
` (15 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Christian Ehrhardt @ 2025-12-04 6:51 UTC (permalink / raw)
To: qemu-devel
Thanks for the report,
we need to add that indeed the moment we have something reliable by upstream
I've added the upstream bug tracker https://gitlab.com/qemu-project/qemu/-/issues/3065
Implementation looks like being worked on since
https://mail.gnu.org/archive/html/qemu-devel/2025-08/msg04984.html
With iterations on feedback and fixes like
https://mail.gnu.org/archive/html/qemu-devel/2025-10/msg08521.html
https://mail.gnu.org/archive/html/qemu-devel/2025-11/msg00043.html
Recently got some more attention by us and Fedora picking up and seeing the same
https://mail.gnu.org/archive/html/qemu-devel/2025-12/msg00468.html
@Heinrich
do you think we need to rush glossing over it by using the incomplete versions in resolute until the final one is out. No risc there yet, but this isn't exclusive to risc - that is just more common to run emulated.
Or can we wait until they have it finalized (either way before resolute release we should have it in R but also in SRU that we expect to run resolute binaries.
** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #3065
https://gitlab.com/qemu-project/qemu/-/issues/3065
** Also affects: qemu via
https://gitlab.com/qemu-project/qemu/-/issues/3065
Importance: Unknown
Status: Unknown
** Also affects: qemu (Ubuntu Noble)
Importance: Undecided
Status: New
** Also affects: qemu (Ubuntu Resolute)
Importance: High
Status: Confirmed
** Also affects: qemu (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: qemu (Ubuntu Plucky)
Importance: Undecided
Status: New
** Also affects: qemu (Ubuntu Questing)
Importance: Undecided
Status: New
** Changed in: qemu (Ubuntu Questing)
Status: New => Confirmed
** Changed in: qemu (Ubuntu Plucky)
Status: New => Confirmed
** Changed in: qemu (Ubuntu Noble)
Status: New => Confirmed
** Changed in: qemu (Ubuntu Jammy)
Status: New => Confirmed
** Changed in: qemu (Ubuntu Questing)
Importance: Undecided => Medium
** Changed in: qemu (Ubuntu Plucky)
Importance: Undecided => Medium
** Changed in: qemu (Ubuntu Noble)
Importance: Undecided => High
** Changed in: qemu (Ubuntu Jammy)
Importance: Undecided => Low
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
Unknown
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Confirmed
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
2025-12-04 6:51 ` [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2 Christian Ehrhardt
@ 2025-12-04 9:54 ` Bug Watch Updater
2025-12-04 10:40 ` Heinrich Schuchardt
` (14 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Bug Watch Updater @ 2025-12-04 9:54 UTC (permalink / raw)
To: qemu-devel
** Changed in: qemu
Status: Unknown => New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
New
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Confirmed
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
2025-12-04 6:51 ` [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2 Christian Ehrhardt
2025-12-04 9:54 ` Bug Watch Updater
@ 2025-12-04 10:40 ` Heinrich Schuchardt
2025-12-04 11:55 ` Heinrich Schuchardt
` (13 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Heinrich Schuchardt @ 2025-12-04 10:40 UTC (permalink / raw)
To: qemu-devel
There are two patches with the same title "[PATCH 1/7] Add termios2
support to linux-user"
https://lore.kernel.org/qemu-
devel/745f18b6-ee62-4903-9a56-dcb903b610cf@bonslack.org/ contains an
updated version. It adds copying c_ispeed, c_ospeed. These are the
fields that struct termios2 has on top of what is in struct termios.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
New
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Confirmed
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (2 preceding siblings ...)
2025-12-04 10:40 ` Heinrich Schuchardt
@ 2025-12-04 11:55 ` Heinrich Schuchardt
2025-12-04 12:58 ` Heinrich Schuchardt
` (12 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Heinrich Schuchardt @ 2025-12-04 11:55 UTC (permalink / raw)
To: qemu-devel
@Christian
The patch "[PATCH 1/7] Add termios2 support to linux-user" looks good to
me. Except for the extra two fields in struct termios2 it follows what
is done for struct termios.
I added the patch on top of origin/master and it resolves the issue both
on arm64 and on riscv64.
Once
https://code.launchpad.net/~slyon/ubuntu/+source/qemu/+git/qemu/+merge/496788
is accepted, we should go ahead with this patch.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
New
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Confirmed
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (3 preceding siblings ...)
2025-12-04 11:55 ` Heinrich Schuchardt
@ 2025-12-04 12:58 ` Heinrich Schuchardt
2025-12-08 11:03 ` Heinrich Schuchardt
` (11 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Heinrich Schuchardt @ 2025-12-04 12:58 UTC (permalink / raw)
To: qemu-devel
Unfortunately the series was sent without an In-Reply-To header. The
other patches can be found with at
https://lore.kernel.org/qemu-
devel/?q=Luca+Bonissi+%3Cqemu%40bonslack.org%3E
These extra patches seem to be needed for target architectures like PPC
and MIPS that don't use generic/termbits.h. S390X should be good as it
uses generic/termbits.h.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
New
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Confirmed
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (4 preceding siblings ...)
2025-12-04 12:58 ` Heinrich Schuchardt
@ 2025-12-08 11:03 ` Heinrich Schuchardt
2026-01-19 11:24 ` Utkarsh Gupta
` (10 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Heinrich Schuchardt @ 2025-12-08 11:03 UTC (permalink / raw)
To: qemu-devel
** Changed in: qemu (Ubuntu Noble)
Milestone: None => ubuntu-24.04.4
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
New
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Confirmed
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (5 preceding siblings ...)
2025-12-08 11:03 ` Heinrich Schuchardt
@ 2026-01-19 11:24 ` Utkarsh Gupta
2026-01-21 8:44 ` Christian Ehrhardt
` (9 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Utkarsh Gupta @ 2026-01-19 11:24 UTC (permalink / raw)
To: qemu-devel
Ubuntu 25.04 (Plucky Puffin) has reached end of life, so this bug will
not be fixed for that specific release.
** Changed in: qemu (Ubuntu Plucky)
Status: Confirmed => Won't Fix
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
New
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Won't Fix
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (6 preceding siblings ...)
2026-01-19 11:24 ` Utkarsh Gupta
@ 2026-01-21 8:44 ` Christian Ehrhardt
2026-01-26 8:52 ` Bug Watch Updater
` (8 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Christian Ehrhardt @ 2026-01-21 8:44 UTC (permalink / raw)
To: qemu-devel
Sadly that has not yet fully concluded by now, patches got sent in
https://mail.gnu.org/archive/html/qemu-devel/2026-01/msg00129.html but
not yet fully merged. We need to re-check what we could merge along 10.2
in the next few days.
Or we merge 10.2 but add this as a test fix later but before 26.04 comes out.
That is ok for 26.04, but further delays the SRU of the same to older releases which can affect running the new release there :-/
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
New
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Won't Fix
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (7 preceding siblings ...)
2026-01-21 8:44 ` Christian Ehrhardt
@ 2026-01-26 8:52 ` Bug Watch Updater
2026-02-10 8:35 ` Christian Ehrhardt
` (7 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Bug Watch Updater @ 2026-01-26 8:52 UTC (permalink / raw)
To: qemu-devel
** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
Fix Released
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Won't Fix
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (8 preceding siblings ...)
2026-01-26 8:52 ` Bug Watch Updater
@ 2026-02-10 8:35 ` Christian Ehrhardt
2026-02-10 9:06 ` Michael Tokarev
` (6 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Christian Ehrhardt @ 2026-02-10 8:35 UTC (permalink / raw)
To: qemu-devel
** Changed in: qemu (Ubuntu Resolute)
Assignee: (unassigned) => Hector CAO (hectorcao)
** Tags added: server-todo
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
Fix Released
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Won't Fix
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (9 preceding siblings ...)
2026-02-10 8:35 ` Christian Ehrhardt
@ 2026-02-10 9:06 ` Michael Tokarev
2026-02-10 11:04 ` Christian Ehrhardt
` (5 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Michael Tokarev @ 2026-02-10 9:06 UTC (permalink / raw)
To: qemu-devel
fwiw, I've picked up termios2 to the current qemu stable series, to be
released in a couple days. 10.0, 10.1 and 10.2 will have it.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
Fix Released
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Won't Fix
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (10 preceding siblings ...)
2026-02-10 9:06 ` Michael Tokarev
@ 2026-02-10 11:04 ` Christian Ehrhardt
2026-02-11 8:24 ` Christian Ehrhardt
` (4 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Christian Ehrhardt @ 2026-02-10 11:04 UTC (permalink / raw)
To: qemu-devel
Awesome, that will make the backport along the merge no effort at all -
thanks Michael!
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
Fix Released
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Won't Fix
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (11 preceding siblings ...)
2026-02-10 11:04 ` Christian Ehrhardt
@ 2026-02-11 8:24 ` Christian Ehrhardt
2026-02-17 1:49 ` Hector CAO
` (3 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Christian Ehrhardt @ 2026-02-11 8:24 UTC (permalink / raw)
To: qemu-devel
@mjt - Ideally we'd pick up those and all else you queued up so far, but
I do not see those pushed to upstream/stable-10.2 yet, can we find them
anywhere already?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
Fix Released
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Won't Fix
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (12 preceding siblings ...)
2026-02-11 8:24 ` Christian Ehrhardt
@ 2026-02-17 1:49 ` Hector CAO
2026-02-17 2:16 ` Hector CAO
` (2 subsequent siblings)
16 siblings, 0 replies; 17+ messages in thread
From: Hector CAO @ 2026-02-17 1:49 UTC (permalink / raw)
To: qemu-devel
The patchset has been merged in qemu upstream :
https://gitlab.com/qemu-project/qemu/-/commit/fea2d7a784fc3627a8aa72875f51fe7634b04b81
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
Fix Released
Status in qemu package in Ubuntu:
Confirmed
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Won't Fix
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Confirmed
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (13 preceding siblings ...)
2026-02-17 1:49 ` Hector CAO
@ 2026-02-17 2:16 ` Hector CAO
2026-02-17 6:50 ` Michael Tokarev
2026-03-05 14:30 ` Launchpad Bug Tracker
16 siblings, 0 replies; 17+ messages in thread
From: Hector CAO @ 2026-02-17 2:16 UTC (permalink / raw)
To: qemu-devel
** Merge proposal linked:
https://code.launchpad.net/~hectorcao/ubuntu/+source/qemu/+git/qemu/+merge/498837
** Changed in: qemu (Ubuntu Resolute)
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
Fix Released
Status in qemu package in Ubuntu:
In Progress
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Won't Fix
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
In Progress
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (14 preceding siblings ...)
2026-02-17 2:16 ` Hector CAO
@ 2026-02-17 6:50 ` Michael Tokarev
2026-03-05 14:30 ` Launchpad Bug Tracker
16 siblings, 0 replies; 17+ messages in thread
From: Michael Tokarev @ 2026-02-17 6:50 UTC (permalink / raw)
To: qemu-devel
FWIW, for the upstream stable qemu series, the forkflow is as follows.
First, stable-N.M branches are only updated when a next stable release
is made (in this case, v10.2.1) - at the same time, I push a tag and we
publish new tarballs on download.qemu.org, and I send announces.
stable-N.M branches are static, only receiving new commits, once a
commit is there, it's cast in stone.
Before a stable release, it is staging-N.M branch, - which is a volatile
branch, which can be overridden, reordered, etc, as the work progresses.
And even before staging-N.M, I usually push to my repository on gitlab
first, https://gitlab.com/mjt0k/qemu - this is because there, I can
avoid thinking about gitlab CI credits, clashing CI pipelines with the
staging/master branches, etc.
So, expecting stuff to show up on stable-N.M branches isn't wise before
the next stable release.
HTH
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
Fix Released
Status in qemu package in Ubuntu:
In Progress
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Won't Fix
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
In Progress
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
` (15 preceding siblings ...)
2026-02-17 6:50 ` Michael Tokarev
@ 2026-03-05 14:30 ` Launchpad Bug Tracker
16 siblings, 0 replies; 17+ messages in thread
From: Launchpad Bug Tracker @ 2026-03-05 14:30 UTC (permalink / raw)
To: qemu-devel
This bug was fixed in the package qemu - 1:10.2.1+ds-1ubuntu1
---------------
qemu (1:10.2.1+ds-1ubuntu1) resolute; urgency=medium
* Merge with Debian unstable (LP: #2131929):
Among several other backported fixes this will resolve
- qemu-system-any brings in random system emulator with the
new APT solver (LP: #2127053)
- add termios2 support (LP: #2133804)
Remaining changes:
- qemu-kvm to systemd unit
- d/qemu-kvm-init: script for QEMU KVM preparation modules, ksm,
hugepages and architecture specifics
- d/qemu-system-common.qemu-kvm.service: systemd unit to call
qemu-kvm-init
- d/qemu-system-common.install: install helper script
- d/qemu-system-common.qemu-kvm.default: defaults for
/etc/default/qemu-kvm
- d/rules: call dh_installinit and dh_installsystemd for qemu-kvm
- Distribution specific machine type
(LP 1776189 1761372 1769053 2012763 2131822)
- d/p/ubuntu/define-ubuntu-machine-types.patch: define distro machine
types containing release versioned machine attributes
- Add an info about -hpb machine type in debian/qemu-system-x86.NEWS
- ubuntu-q35 alias added to auto-select the most recent q35 ubuntu type
- Enable nesting by default
- d/p/ubuntu/enable-svm-by-default.patch: Enable nested svm by default
in qemu64 on amd
[ No more strictly needed, but required for backward compatibility ]
- tolerate ipxe size change on migrations to >=18.04 (LP 1713490)
- d/p/ubuntu/pre-bionic-256k-ipxe-efi-roms.patch: old machine types
reference 256k path
- d/control-in: depend on ipxe-qemu-256k-compat-efi-roms to be able to
handle incoming migrations from former releases.
- d/qemu-block-extra.postinst: Use latest Ubuntu's QEMU
package version when deciding whether to invoke
'deb-systemd-helper purge'.
- d/control-in: Disable B-D on qemu-system-data, due to that also
- d/rules: Export DEB_BUILD_PROFILES with
pkg.qemu.use-upstream-vdso when building on non-amd64 architectures.
- d/control: Disable B-D on seabios.
- d/rules: Disable upstream tests depending on qemu-system-data
- d/control-in: B-D on multipath libs for multipath persist in
qemu-pr-helper (LP 2117378)
- d/control-in: breaks/replaces for dtb files moving qemu-system-misc
to qemu-system-data
- d/rules: Use upstream vDSO for architecture variant builds (LP 2131236)
* Updated delta:
- d/p/u/define-ubuntu-machine-types.patch: update to match 10.2
* Dropped changes:
- d/p/u/lp2121787/* : Fix migration issues because of missing features
(LP 2121787)
[Fixed in upstream 10.2]
- d/p/u/lp-2123828-*: Fix RISC-V instructions endianness (LP 2123828)
[Fixed in upstream 10.2]
qemu (1:10.2.1+ds-1) unstable; urgency=medium
* new upstream stable/bugfix release
(Closes: #1123670, CVE-2025-14876)
* - fix-PIRQ-bounds-check-in-xen_physdev_map_pirq-CVE-2026-0665.patch
* remove ipxe from FIRMWAREPATH (needs ipxe from trixie and up)
qemu (1:10.2.0+ds-2) unstable; urgency=medium
* two patches to make statically-linked linux-user not depend on nss
(remove linkage to qemu-sockets.c)
* 1095935.patch (Closes: #1095935)
* d/control: qemu-user: mention possibility to sym-link files in
/usr/share/qemu/binfmt.d/ to /etc/binfmt.d/
* d/rules: remove workaround for #1019011 for palcode-clipper -
the bug in gcc has been fixed (in 2022)
* d/control: better versioned dependencies of qemu modules: use
qemu-system-common as a syncronisation point instead of qemu-system-any
(Closes: LP#2127053)
* d/control: finally de-couple qemu-system-riscv and qemu-system-s390x
from qemu-system-misc (remove misc:Depends: riscv, s390x)
* fix-PIRQ-bounds-check-in-xen_physdev_map_pirq-CVE-2026-0665.patch
(Closes: #1125423, CVE-2026-0665)
* d/copyright: fix Files/License sections
qemu (1:10.2.0+ds-1) unstable; urgency=medium
* new upstream release
* d/gbp.conf: switch to 10.2
* d/patches: refresh
* d/control.mk: checked-version: 10.2.0+ds, vdso-version: 1:10.2.0+ds-1~
* d/copyright: rename u-boot-sam460ex bin following upstream change
* d/copyright: add pc-bios/npcm[78]xx_bootrom.bin to Files-Excluded
* d/rules: adjust for u-boot-sam460ex rename, work around build bug,
provide a compat symlink for now
* d/control.mk: 32bit mips and powerpc hosts are not supported anymore
qemu (1:10.1.3+ds-1) unstable; urgency=medium
[ Michael Tokarev ]
* new upstream stable/bugfix release 10.1.3
Closes: #1119917, CVE-2025-12464 (buffer overflow in e1000_receive_iov)
Closes: #1117153, CVE-2025-11234 (UAF in websocket handshake code)
* d/qemu-user.postinst: add the forgotten `set -e'
* d/rules: enable vnc-sasl and vnc password (through nettle)
for xen build (Closes: #1041533)
* remove patches applied upstream:
- linux-user-use-correct-type-for-FIBMAP-and-FIGETBSZ.patch
- tcg-arm-fix-tgen_deposit.patch
[ Heinrich Schuchardt ]
* d/rules: reword build-vdso comment
qemu (1:10.1.2+ds-3) unstable; urgency=medium
* d/control: qemu-system-xen: add the forgotten ipxe-qemu dependency
qemu-system binaries require pxe boot roms for the network adaptors.
When splitting qemu-system-xen into its own package, this dependency
has been forgotten initally, but has been enabled for bookworm (#1035676).
However, this change were lost when uploading the next version of qemu
aimed for trixie. So trixie has this issue too, despite it's been fixed
in bookworm already. (Closes: #1035676, #1120146)
qemu (1:10.1.2+ds-2) unstable; urgency=medium
* d/control: bump seabios dependency to 1.17.0 due to ESP fixes
* linux-user-use-correct-type-for-FIBMAP-and-FIGETBSZ.patch
(Closes: #1119257)
qemu (1:10.1.2+ds-1) unstable; urgency=medium
* new upstream stable/bugfix release
Closes: #1112285 (assertion failure in qemu-system-alpha)
Fixes migration from 10.0 and earlier
qemu (1:10.1.1+ds-1) unstable; urgency=medium
[ Michael Tokarev ]
* new upstream stable/bugfix release
Closes: #1082377, CVE-2024-8354
* removed patches included upstream:
- block-curl-fix-curl-internal-handles-handling.patch
- e1000e-prevent-crash-from-legacy-interrupt-firing-af.patch
- ui-spice-fix-crash-when-disabling-GL-scanout-on.patch
- hw-vfio-user-add-x-pci-class-code.patch
* d/control.mk: checked-version := 10.1.1+ds
* d/control: add python3-distlib:native build-dep variant due to #1115197
* aarch64-linux-user-no-pauth.patch: disable pauth on aarch64 linux-user
by default (Closes: #1113951)
[ Luca Boccassi ]
* qemu-guest-agent: add ConditionVirtualization=vm
* qemu-guest-agent: add Documentation= referring to manpages
-- Hector Cao <hector.cao@canonical.com> Tue, 17 Feb 2026 02:02:42
+0100
** Changed in: qemu (Ubuntu Resolute)
Status: In Progress => Fix Released
** CVE added: https://cve.org/CVERecord?id=CVE-2024-8354
** CVE added: https://cve.org/CVERecord?id=CVE-2025-11234
** CVE added: https://cve.org/CVERecord?id=CVE-2025-12464
** CVE added: https://cve.org/CVERecord?id=CVE-2025-14876
** CVE added: https://cve.org/CVERecord?id=CVE-2026-0665
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2133804
Title:
QEMU does not emulate IOCTL TCGETS2
Status in QEMU:
Fix Released
Status in qemu package in Ubuntu:
Fix Released
Status in qemu source package in Jammy:
Confirmed
Status in qemu source package in Noble:
Confirmed
Status in qemu source package in Plucky:
Won't Fix
Status in qemu source package in Questing:
Confirmed
Status in qemu source package in Resolute:
Fix Released
Bug description:
In Ubuntu 25.10 we moved to glibc 2.42. Here glibc has changed the
implementation of isatty(). It now uses IOCTL TCGETS2 instead of
TCGETS. TCGETS2 is not emulated by static QEMU (qemu-riscv64, qemu-
arm64, ...).
This leads to failures in containers for foreign architectures. E.g. no console prompt is displayed.
A detailed analysis is contained in LP #2133188.
A proper implementation of the missing IOCTLs will include:
Functions:
in linux-user/syscall.c:
host_to_target_termios2()
target_to_host_termios2()
print_termios2()
Definitions:
in linux-user/syscall.c
#define termios2 host_termios2
in linux-user/syscall_types.h
STRUCT_SPECIAL(termios2)
in linux-user/ioctls.h:
IOCTL(TCGETS2, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETS2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSF2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
IOCTL(TCSETSW2, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios2)))
in linux-user/user-internals.h:
void print_termios2(void *arg);
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2133804/+subscriptions
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2026-03-05 14:36 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <176477927666.3767208.4954653462090539439.malonedeb@juju-98d295-prod-launchpad-3>
2025-12-04 6:51 ` [Bug 2133804] Re: QEMU does not emulate IOCTL TCGETS2 Christian Ehrhardt
2025-12-04 9:54 ` Bug Watch Updater
2025-12-04 10:40 ` Heinrich Schuchardt
2025-12-04 11:55 ` Heinrich Schuchardt
2025-12-04 12:58 ` Heinrich Schuchardt
2025-12-08 11:03 ` Heinrich Schuchardt
2026-01-19 11:24 ` Utkarsh Gupta
2026-01-21 8:44 ` Christian Ehrhardt
2026-01-26 8:52 ` Bug Watch Updater
2026-02-10 8:35 ` Christian Ehrhardt
2026-02-10 9:06 ` Michael Tokarev
2026-02-10 11:04 ` Christian Ehrhardt
2026-02-11 8:24 ` Christian Ehrhardt
2026-02-17 1:49 ` Hector CAO
2026-02-17 2:16 ` Hector CAO
2026-02-17 6:50 ` Michael Tokarev
2026-03-05 14:30 ` Launchpad Bug Tracker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox