Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142491511
D54781.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
656 B
Referenced Files
None
Subscribers
None
D54781.id.diff
View Options
diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c
--- a/sys/amd64/vmm/vmm.c
+++ b/sys/amd64/vmm/vmm.c
@@ -204,26 +204,6 @@
VMM_STAT(VMEXIT_RENDEZVOUS, "number of times rendezvous pending at exit");
VMM_STAT(VMEXIT_EXCEPTION, "number of vm exits due to exceptions");
-#ifdef KTR
-static const char *
-vcpu_state2str(enum vcpu_state state)
-{
-
- switch (state) {
- case VCPU_IDLE:
- return ("idle");
- case VCPU_FROZEN:
- return ("frozen");
- case VCPU_RUNNING:
- return ("running");
- case VCPU_SLEEPING:
- return ("sleeping");
- default:
- return ("unknown");
- }
-}
-#endif
-
static void
vcpu_cleanup(struct vcpu *vcpu, bool destroy)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 21, 9:34 AM (4 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27765827
Default Alt Text
D54781.id.diff (656 B)
Attached To
Mode
D54781: amd64/vmm: remove unused static function vcpu_state2str()
Attached
Detach File
Event Timeline
Log In to Comment