blob: e420d5c2cf2e9994fd10d4f0ac35f632e792efbb [file] [log] [blame]
Andreea Costinas6d8b6b72019-04-11 12:44:42 +02001// Copyright 2019 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SYSTEM_API_CONSTANTS_VM_TOOLS_H_
6#define SYSTEM_API_CONSTANTS_VM_TOOLS_H_
7
8namespace vm_tools {
9
Fergus Dalldeeb58f2020-01-28 19:42:33 +110010constexpr int kMaitredPort = 8888;
11constexpr int kGarconPort = 8889;
12constexpr int kTremplinPort = 8890;
13constexpr int kVshPort = 9001;
14
15constexpr int kDefaultStartupListenerPort = 7777;
16constexpr int kTremplinListenerPort = 7778;
17constexpr int kCrashListenerPort = 7779;
18
19// All ports above this value are reserved for seneschal servers.
20constexpr uint32_t kFirstSeneschalServerPort = 16384;
21
Andreea Costinas6d8b6b72019-04-11 12:44:42 +020022// Name of the user that runs unstrusted operating systems on Chrome OS.
23constexpr char kCrosVmUser[] = "crosvm";
24
25} // namespace vm_tools
26
27#endif // SYSTEM_API_CONSTANTS_VM_TOOLS_H_