vc: hypervisor: use our own logger

This'll end up moving to hypervisors pkg, but let's stop using virtLog,
instead introduce hvLogger.

Fixes: #2884

Signed-off-by: Eric Ernst <eric_ernst@apple.com>
This commit is contained in:
Eric Ernst
2021-11-11 16:46:14 -08:00
parent 4c2883f7e2
commit 2227c46c25
10 changed files with 26 additions and 18 deletions

View File

@@ -216,7 +216,7 @@ func (v *virtiofsd) valid() error {
}
func (v *virtiofsd) Logger() *log.Entry {
return virtLog.WithField("subsystem", "virtiofsd")
return hvLogger.WithField("subsystem", "virtiofsd")
}
func (v *virtiofsd) kill(ctx context.Context) (err error) {