qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1910605] [NEW] qemu-arm-static ioctl USBDEVFS_BULK return -1 (EFAULT) Bad address
@ 2021-01-07 22:37 Linh Hoang
  2021-05-12 11:06 ` [Bug 1910605] " Thomas Huth
  2021-07-12  4:17 ` Launchpad Bug Tracker
  0 siblings, 2 replies; 3+ messages in thread
From: Linh Hoang @ 2021-01-07 22:37 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:


Snippet of code sample:

struct usbdevfs_bulktransfer Bulk;
Bulk.ep = hUsb->UsbOut;          
Bulk.len = Len;          
Bulk.data = (void *)pData;          
Bulk.timeout = Timeout;
Bytes = ioctl(hUsb->fd, USBDEVFS_BULK, &Bulk)

The above code sample return -1 (EFAULT) Bad address when using qemu-
arm-static but is running ok when on qemu-aarch64-static.

I use a 64-bit intel laptop

** Affects: qemu
     Importance: Undecided
         Status: 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/1910605

Title:
  qemu-arm-static ioctl USBDEVFS_BULK return -1 (EFAULT) Bad address

Status in QEMU:
  New

Bug description:

  Snippet of code sample:

  struct usbdevfs_bulktransfer Bulk;
  Bulk.ep = hUsb->UsbOut;          
  Bulk.len = Len;          
  Bulk.data = (void *)pData;          
  Bulk.timeout = Timeout;
  Bytes = ioctl(hUsb->fd, USBDEVFS_BULK, &Bulk)

  The above code sample return -1 (EFAULT) Bad address when using qemu-
  arm-static but is running ok when on qemu-aarch64-static.

  I use a 64-bit intel laptop

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1910605/+subscriptions


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-12  4:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 22:37 [Bug 1910605] [NEW] qemu-arm-static ioctl USBDEVFS_BULK return -1 (EFAULT) Bad address Linh Hoang
2021-05-12 11:06 ` [Bug 1910605] " Thomas Huth
2021-07-12  4:17 ` 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;
as well as URLs for NNTP newsgroup(s).