A KVM (Keyboard, Video, Monitor) switch is a intermediary device that allows a single set of peripheral devices to be used with multiple PC's.
Wikipedia
A KVM switch (with KVM being an abbreviation for "keyboard, video, and mouse") is a hardware device that allows a user to control multiple computers from one or more sets of keyboards, video monitors, and mice.