[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 2/6] x86/vm_event: introduce vm_event_is_enabled()


  • To: Penny Zheng <Penny.Zheng@xxxxxxx>
  • From: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
  • Date: Fri, 16 Jan 2026 18:19:00 -0500
  • Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=tklengyel.com; spf=pass smtp.mailfrom=tamas@xxxxxxxxxxxxx; dmarc=pass header.from=<tamas@xxxxxxxxxxxxx>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1768605570; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=p2YteRo9HLg4hO9nC7EOOavXwgX3pSd+0fOVfpkd1Ic=; b=fOB+uvb8cJbaoh1UrBBvLc1L1dy4Ov0Xih/c9ww5bUBgBoff0KmQkRLVu0LE3LPzjQnEpFvwQ4Dv7aucDft9ATpeH2fHfMSypnARvrrKJzL2ymhBBDOZU6fobJUGbxbgJqo4YDCiGwJE42NAO901CpeGpcHd+Uso5n6m8wr0DOo=
  • Arc-seal: i=1; a=rsa-sha256; t=1768605570; cv=none; d=zohomail.com; s=zohoarc; b=ecloVruetXAjpq9kp/31ODkpx1zLfPoOP2W89vWSJxQfoF+VkoA9q2/FghISWvQrgnuU0/RROJuWYlgvl/myfRryRpAw43lT5L+X15xJe2xaloVwY1j+w1/9oypgz/UbyFmqONWqMM3Qv0eD96hQeRUbkEHdk6AVkf5cw+X5Ph0=
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, jason.andryuk@xxxxxxx, ray.huang@xxxxxxx, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Alexandru Isaila <aisaila@xxxxxxxxxxxxxxx>, Petre Pircalabu <ppircalabu@xxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 16 Jan 2026 23:19:53 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>



On Thu, Jan 15, 2026 at 4:29 AM Penny Zheng <Penny.Zheng@xxxxxxx> wrote:
Function vm_event_is_enabled() is introduced to check if vm event is enabled,
and also make the checking conditional upon CONFIG_VM_EVENT, which could help
DCE a lot unreachable calls/codes, such as hvm_monitor_io(), etc,
when having VM_EVENT=n.

Signed-off-by: Penny Zheng <Penny.Zheng@xxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>

Acked-by: Tamas K Lengyel <tamas@xxxxxxxxxxxxx

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.