Here is an update to QEMU 11.1.4.

ChangeLog
https://marc.info/?l=qemu-devel&m=179610824297089&w=2


Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/qemu/Makefile,v
retrieving revision 1.271
diff -u -p -u -p -r1.271 Makefile
--- Makefile    14 Nov 2026 10:03:13 -0000      1.271
+++ Makefile    2 Dec 2026 07:46:52 -0000
@@ -6,9 +6,8 @@ USE_NOBTCFI=    Yes
 COMMENT-main=  multi system emulator
 COMMENT-ga=    QEMU guest agent
 
-VERSION=       11.1.3
+VERSION=       11.1.4
 DISTNAME=      qemu-${VERSION}
-REVISION=      0
 CATEGORIES=    emulators
 SITES=         https://download.qemu.org/
 EXTRACT_SUFX=  .tar.xz
Index: distinfo
===================================================================
RCS file: /cvs/ports/emulators/qemu/distinfo,v
retrieving revision 1.90
diff -u -p -u -p -r1.90 distinfo
--- distinfo    1 Nov 2026 15:23:42 -0000       1.90
+++ distinfo    2 Dec 2026 07:46:52 -0000
@@ -1,2 +1,2 @@
-SHA256 (qemu-11.1.3.tar.xz) = WoKJx5QNx304c8gabCm6Ov4URvydNud/oWWM2+y4SyI=
-SIZE (qemu-11.1.3.tar.xz) = 141819712
+SHA256 (qemu-11.1.4.tar.xz) = LseT9utxQleXkGg34F91Od8rpYCBDVvPy7BvLcmwdFg=
+SIZE (qemu-11.1.4.tar.xz) = 141844288
Index: patches/patch-hw_usb_hcd-xhci_c
===================================================================
RCS file: /cvs/ports/emulators/qemu/patches/patch-hw_usb_hcd-xhci_c,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-hw_usb_hcd-xhci_c
--- patches/patch-hw_usb_hcd-xhci_c     1 Nov 2026 15:23:42 -0000       1.2
+++ patches/patch-hw_usb_hcd-xhci_c     2 Dec 2026 07:46:52 -0000
@@ -24,7 +24,7 @@ Index: hw/usb/hcd-xhci.c
  static void xhci_write_event(XHCIState *xhci, XHCIEvent *event, int v);
  static USBEndpoint *xhci_epid_to_usbep(XHCIEPContext *epctx);
  
-@@ -608,6 +614,304 @@ static inline int xhci_running(XHCIState *xhci)
+@@ -625,6 +631,304 @@ static inline int xhci_running(XHCIState *xhci)
      return !(xhci->usbsts & USBSTS_HCH);
  }
  
@@ -329,7 +329,7 @@ Index: hw/usb/hcd-xhci.c
  static void xhci_write_event(XHCIState *xhci, XHCIEvent *event, int v)
  {
      XHCIInterrupter *intr = &xhci->intr[v];
-@@ -643,7 +947,7 @@ static void xhci_write_event(XHCIState *xhci, XHCIEven
+@@ -660,7 +964,7 @@ static void xhci_write_event(XHCIState *xhci, XHCIEven
      }
  }
  
@@ -338,7 +338,7 @@ Index: hw/usb/hcd-xhci.c
  {
      XHCIInterrupter *intr;
      dma_addr_t erdp;
-@@ -656,10 +960,15 @@ static void xhci_event(XHCIState *xhci, XHCIEvent *eve
+@@ -673,10 +977,15 @@ static void xhci_event(XHCIState *xhci, XHCIEvent *eve
  
      if (v >= xhci->numintrs) {
          DPRINTF("intr nr out of range (%d >= %d)\n", v, xhci->numintrs);
@@ -355,7 +355,7 @@ Index: hw/usb/hcd-xhci.c
      erdp = xhci_addr64(intr->erdp_low, intr->erdp_high);
      if (erdp < intr->er_start ||
          erdp >= (intr->er_start + TRB_SIZE*intr->er_size)) {
-@@ -667,25 +976,86 @@ static void xhci_event(XHCIState *xhci, XHCIEvent *eve
+@@ -684,25 +993,86 @@ static void xhci_event(XHCIState *xhci, XHCIEvent *eve
          DPRINTF("xhci: ER[%d] at "DMA_ADDR_FMT" len %d\n",
                  v, intr->er_start, intr->er_size);
          xhci_die(xhci);
@@ -448,7 +448,7 @@ Index: hw/usb/hcd-xhci.c
  static void xhci_ring_init(XHCIState *xhci, XHCIRing *ring,
                             dma_addr_t base)
  {
-@@ -809,6 +1179,7 @@ static void xhci_er_reset(XHCIState *xhci, int v)
+@@ -826,6 +1196,7 @@ static void xhci_er_reset(XHCIState *xhci, int v)
      XHCIInterrupter *intr = &xhci->intr[v];
      XHCIEvRingSeg seg;
      dma_addr_t erstba = xhci_addr64(intr->erstba_low, intr->erstba_high);
@@ -456,7 +456,7 @@ Index: hw/usb/hcd-xhci.c
  
      if (intr->erstsz == 0 || erstba == 0) {
          /* disabled */
-@@ -846,13 +1217,25 @@ static void xhci_er_reset(XHCIState *xhci, int v)
+@@ -863,13 +1234,25 @@ static void xhci_er_reset(XHCIState *xhci, int v)
  
      DPRINTF("xhci: event ring[%d]:" DMA_ADDR_FMT " [%d]\n",
              v, intr->er_start, intr->er_size);
@@ -482,7 +482,7 @@ Index: hw/usb/hcd-xhci.c
  }
  
  static void xhci_stop(XHCIState *xhci)
-@@ -860,6 +1243,7 @@ static void xhci_stop(XHCIState *xhci)
+@@ -877,6 +1260,7 @@ static void xhci_stop(XHCIState *xhci)
      trace_usb_xhci_stop();
      xhci->usbsts |= USBSTS_HCH;
      xhci->crcr_low &= ~CRCR_CRR;
@@ -490,7 +490,7 @@ Index: hw/usb/hcd-xhci.c
  }
  
  static XHCIStreamContext *xhci_alloc_stream_contexts(unsigned count,
-@@ -1301,6 +1685,7 @@ static TRBCCode xhci_disable_ep(XHCIState *xhci, unsig
+@@ -1318,6 +1702,7 @@ static TRBCCode xhci_disable_ep(XHCIState *xhci, unsig
          return CC_SUCCESS;
      }
  
@@ -498,7 +498,7 @@ Index: hw/usb/hcd-xhci.c
      xhci_ep_nuke_xfers(xhci, slotid, epid, 0);
  
      epctx = slot->eps[epid-1];
-@@ -1342,6 +1727,7 @@ static TRBCCode xhci_stop_ep(XHCIState *xhci, unsigned
+@@ -1359,6 +1744,7 @@ static TRBCCode xhci_stop_ep(XHCIState *xhci, unsigned
          return CC_EP_NOT_ENABLED_ERROR;
      }
  
@@ -506,7 +506,7 @@ Index: hw/usb/hcd-xhci.c
      if (xhci_ep_nuke_xfers(xhci, slotid, epid, CC_STOPPED) > 0) {
          DPRINTF("xhci: FIXME: endpoint stopped w/ xfers running, "
                  "data might be lost\n");
-@@ -1387,6 +1773,7 @@ static TRBCCode xhci_reset_ep(XHCIState *xhci, unsigne
+@@ -1404,6 +1790,7 @@ static TRBCCode xhci_reset_ep(XHCIState *xhci, unsigne
          return CC_CONTEXT_STATE_ERROR;
      }
  
@@ -514,7 +514,7 @@ Index: hw/usb/hcd-xhci.c
      if (xhci_ep_nuke_xfers(xhci, slotid, epid, 0) > 0) {
          DPRINTF("xhci: FIXME: endpoint reset w/ xfers running, "
                  "data might be lost\n");
-@@ -1905,6 +2292,11 @@ static void xhci_kick_epctx(XHCIEPContext *epctx, unsi
+@@ -1922,6 +2309,11 @@ static void xhci_kick_epctx(XHCIEPContext *epctx, unsi
      trace_usb_xhci_ep_kick(epctx->slotid, epctx->epid, streamid);
      assert(!epctx->kick_active);
  
@@ -526,7 +526,7 @@ Index: hw/usb/hcd-xhci.c
      /* If the device has been detached, but the guest has not noticed this
         yet the 2 above checks will succeed, but we must NOT continue */
      if (!xhci_slot_ok(xhci, epctx->slotid)) {
-@@ -1944,6 +2336,11 @@ static void xhci_kick_epctx(XHCIEPContext *epctx, unsi
+@@ -1961,6 +2353,11 @@ static void xhci_kick_epctx(XHCIEPContext *epctx, unsi
          epctx->retry = NULL;
      }
  
@@ -538,7 +538,7 @@ Index: hw/usb/hcd-xhci.c
      if (epctx->state == EP_HALTED) {
          DPRINTF("xhci: ep halted, not running schedule\n");
          return;
-@@ -2016,6 +2413,11 @@ static void xhci_kick_epctx(XHCIEPContext *epctx, unsi
+@@ -2033,6 +2430,11 @@ static void xhci_kick_epctx(XHCIEPContext *epctx, unsi
              xfer = NULL;
          }
  
@@ -550,7 +550,7 @@ Index: hw/usb/hcd-xhci.c
          if (epctx->state == EP_HALTED) {
              break;
          }
-@@ -2492,6 +2894,9 @@ static void xhci_process_commands(XHCIState *xhci)
+@@ -2508,6 +2910,9 @@ static void xhci_process_commands(XHCIState *xhci)
      }
  
      xhci->crcr_low |= CRCR_CRR;
@@ -560,7 +560,7 @@ Index: hw/usb/hcd-xhci.c
  
      while ((type = xhci_ring_fetch(xhci, &xhci->cmd_ring, &trb, &addr))) {
          event.ptr = addr;
-@@ -2602,7 +3007,9 @@ static void xhci_process_commands(XHCIState *xhci)
+@@ -2618,7 +3023,9 @@ static void xhci_process_commands(XHCIState *xhci)
              break;
          }
          event.slotid = slotid;
@@ -571,7 +571,7 @@ Index: hw/usb/hcd-xhci.c
  
          if (count++ > COMMAND_LIMIT) {
              trace_usb_xhci_enforced_limit("commands");
-@@ -2718,6 +3125,8 @@ static void xhci_reset(DeviceState *dev)
+@@ -2734,6 +3141,8 @@ static void xhci_reset(DeviceState *dev)
      xhci->dcbaap_low = 0;
      xhci->dcbaap_high = 0;
      xhci->config = 0;
@@ -580,7 +580,7 @@ Index: hw/usb/hcd-xhci.c
  
      for (i = 0; i < xhci->numslots; i++) {
          xhci_disable_slot(xhci, i+1);
-@@ -2738,6 +3147,11 @@ static void xhci_reset(DeviceState *dev)
+@@ -2754,6 +3163,11 @@ static void xhci_reset(DeviceState *dev)
  
          xhci->intr[i].er_ep_idx = 0;
          xhci->intr[i].er_pcs = 1;
@@ -592,7 +592,7 @@ Index: hw/usb/hcd-xhci.c
          xhci->intr[i].ev_buffer_put = 0;
          xhci->intr[i].ev_buffer_get = 0;
      }
-@@ -3141,6 +3555,11 @@ static void xhci_runtime_write(void *ptr, hwaddr reg,
+@@ -3157,6 +3571,11 @@ static void xhci_runtime_write(void *ptr, hwaddr reg,
              intr->erdp_low &= ~ERDP_EHB;
          }
          intr->erdp_low = (val & ~ERDP_EHB) | (intr->erdp_low & ERDP_EHB);
@@ -604,7 +604,7 @@ Index: hw/usb/hcd-xhci.c
          if (val & ERDP_EHB) {
              dma_addr_t erdp = xhci_addr64(intr->erdp_low, intr->erdp_high);
              unsigned int dp_idx = (erdp - intr->er_start) / TRB_SIZE;
-@@ -3153,6 +3572,7 @@ static void xhci_runtime_write(void *ptr, hwaddr reg,
+@@ -3169,6 +3588,7 @@ static void xhci_runtime_write(void *ptr, hwaddr reg,
          break;
      case 0x1c: /* ERDP high */
          intr->erdp_high = val;
@@ -612,7 +612,7 @@ Index: hw/usb/hcd-xhci.c
          break;
      default:
          trace_usb_xhci_unimplemented("oper write", reg);
-@@ -3454,6 +3874,15 @@ static void usb_xhci_realize(DeviceState *dev, Error *
+@@ -3470,6 +3890,15 @@ static void usb_xhci_realize(DeviceState *dev, Error *
      if (xhci->numslots < 1) {
          xhci->numslots = 1;
      }
@@ -628,7 +628,7 @@ Index: hw/usb/hcd-xhci.c
      if (xhci_get_flag(xhci, XHCI_FLAG_ENABLE_STREAMS)) {
          xhci->max_pstreams_mask = 7; /* == 256 primary streams */
      } else {
-@@ -3499,6 +3928,14 @@ static void usb_xhci_unrealize(DeviceState *dev)
+@@ -3515,6 +3944,14 @@ static void usb_xhci_unrealize(DeviceState *dev)
          xhci_disable_slot(xhci, i + 1);
      }
  
@@ -643,7 +643,7 @@ Index: hw/usb/hcd-xhci.c
      if (xhci->mfwrap_timer) {
          timer_free(xhci->mfwrap_timer);
          xhci->mfwrap_timer = NULL;
-@@ -3517,17 +3954,70 @@ static void usb_xhci_unrealize(DeviceState *dev)
+@@ -3533,16 +3970,69 @@ static void usb_xhci_unrealize(DeviceState *dev)
      usb_bus_release(&xhci->bus);
  }
  
@@ -680,12 +680,11 @@ Index: hw/usb/hcd-xhci.c
 +    XHCIPendingEvent *pending;
      XHCISlot *slot;
      XHCIEPContext *epctx;
-     dma_addr_t dcbaap, pctx;
+     dma_addr_t pctx;
      uint32_t slot_ctx[4];
      uint32_t ep_ctx[5];
 -    int slotid, epid, state;
 +    int slotid, epid, state, i;
-     uint64_t addr;
  
 +    xhci->er_full_count = 0;
 +    for (i = 0; i < xhci->numintrs; i++) {
@@ -712,10 +711,10 @@ Index: hw/usb/hcd-xhci.c
 +
 +    xhci_rebuild_deferred_kick_queue(xhci);
 +
-     dcbaap = xhci_addr64(xhci->dcbaap_low, xhci->dcbaap_high);
- 
      for (slotid = 1; slotid <= xhci->numslots; slotid++) {
-@@ -3560,11 +4050,19 @@ static int usb_xhci_post_load(void *opaque, int versio
+         slot = &xhci->slots[slotid-1];
+         if (!slot->addressed) {
+@@ -3573,11 +4063,19 @@ static int usb_xhci_post_load(void *opaque, int versio
              xhci_init_epctx(epctx, pctx, ep_ctx);
              epctx->state = state;
              if (state == EP_RUNNING) {
@@ -737,7 +736,7 @@ Index: hw/usb/hcd-xhci.c
      return 0;
  }
  
-@@ -3612,6 +4110,38 @@ static const VMStateDescription vmstate_xhci_event = {
+@@ -3625,6 +4123,38 @@ static const VMStateDescription vmstate_xhci_event = {
      }
  };
  
@@ -776,7 +775,7 @@ Index: hw/usb/hcd-xhci.c
  static bool xhci_er_full(void *opaque, int version_id)
  {
      return false;
-@@ -3646,12 +4176,37 @@ static const VMStateDescription vmstate_xhci_intr = {
+@@ -3659,12 +4189,37 @@ static const VMStateDescription vmstate_xhci_intr = {
                                    vmstate_xhci_event, XHCIEvent),
  
          VMSTATE_END_OF_LIST()
@@ -814,7 +813,7 @@ Index: hw/usb/hcd-xhci.c
      .post_load = usb_xhci_post_load,
      .fields = (const VMStateField[]) {
          VMSTATE_STRUCT_VARRAY_UINT32(ports, XHCIState, numports, 1,
-@@ -3677,6 +4232,10 @@ const VMStateDescription vmstate_xhci = {
+@@ -3690,6 +4245,10 @@ const VMStateDescription vmstate_xhci = {
          VMSTATE_STRUCT(cmd_ring, XHCIState, 1, vmstate_xhci_ring, XHCIRing),
  
          VMSTATE_END_OF_LIST()
Index: patches/patch-meson_build
===================================================================
RCS file: /cvs/ports/emulators/qemu/patches/patch-meson_build,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 patch-meson_build
--- patches/patch-meson_build   14 Nov 2026 10:03:13 -0000      1.26
+++ patches/patch-meson_build   2 Dec 2026 07:46:52 -0000
@@ -27,7 +27,7 @@ Index: meson.build
  config_host_data.set('CONFIG_CAPSTONE', capstone.found())
  config_host_data.set('CONFIG_COCOA', cocoa.found())
  config_host_data.set('CONFIG_DARWIN', host_os == 'darwin')
-@@ -2755,6 +2756,12 @@ config_host_data.set('HAVE_STRUCT_STAT_ST_ATIM',
+@@ -2757,6 +2758,12 @@ config_host_data.set('HAVE_STRUCT_STAT_ST_ATIM',
  config_host_data.set('HAVE_BLK_ZONE_REP_CAPACITY',
                       cc.has_member('struct blk_zone', 'capacity',
                                     prefix: '#include <linux/blkzoned.h>'))
@@ -40,7 +40,7 @@ Index: meson.build
  
  # has_type
  config_host_data.set('CONFIG_IOVEC',
-@@ -3030,6 +3037,14 @@ config_host_data.set('CONFIG_ELF_AUX_INFO', cc.links(o
+@@ -3032,6 +3039,14 @@ config_host_data.set('CONFIG_ELF_AUX_INFO', cc.links(o
      return hwcap;
    }'''))
  
@@ -55,7 +55,7 @@ Index: meson.build
  config_host_data.set('CONFIG_USBFS', have_linux_user and cc.compiles('''
    #include <linux/usbdevice_fs.h>
  
-@@ -3794,7 +3809,9 @@ util_ss = util_ss.apply({})
+@@ -3796,7 +3811,9 @@ util_ss = util_ss.apply({})
  libqemuutil = static_library('qemuutil',
                               build_by_default: false,
                               sources: util_ss.sources() + stub_ss.sources() + 
genh,
@@ -66,7 +66,7 @@ Index: meson.build
  qemuutil = declare_dependency(link_with: libqemuutil,
                                sources: genh + version_res,
                                dependencies: [event_loop_base])
-@@ -4753,9 +4770,6 @@ if have_rust
+@@ -4755,9 +4772,6 @@ if have_rust
    summary_info += {'bindgen version': bindgen.version()}
  endif
  option_cflags = (get_option('debug') ? ['-g'] : [])

Reply via email to